ampwiki>Kebrus |
|
Line 1: |
Line 1: |
| | This page is empty, contribute today! |
| | |
| [[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | | [[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] |
| | | [[Category:Nodes]][[Category:Transform]] |
| == Get Local Var Node ==
| |
| | |
| The Get Local Var node ''( shortcut: G key )'' allows access to local values created via a [[Unity Products:Amplify Shader Editor/Register Local Var|Register Local Var]] node. This can be done by selecting a local variable through its [[#paramReference|Reference]] property available at the Node Properties window or upper left corner of the node body.
| |
| <br/>'''NOTE:''' Using this node is similar to directly connect the '''Register Local Var''' output to where the value is needed.
| |
| | |
| <img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/RegisterGetLocalVar.jpg">
| |
| <br/><font size="1">Nodes used:
| |
| [[Unity_Products:Amplify_Shader_Editor/World_Normal|World Normal]],
| |
| [[Unity_Products:Amplify_Shader_Editor/World_Space_Light_Dir|World Space Light Dir]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Dot|Dot]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Register_Local_Var|Register Local Var]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Get_Local_Var|Get Local Var]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Scale_And_Offset|Scale And Offset]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Float|Float]],
| |
| [[Unity_Products:Amplify_Shader_Editor/Texture_Sample|Texture Sample]]
| |
| </font>
| |
| | |
| {| class="wikitable" style="width: 100%;"
| |
| |-
| |
| ! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
| |
| |-
| |
| | id="paramReference" | Reference
| |
| | Lists all available local variables. Select one to be used by the node.
| |
| | None
| |
| |}
| |
| | |
| | |
| [[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List ]]
| |
| [[Category:Nodes]][[Category:Miscellaneous]] | |