Difference between revisions of "Unity Products:Amplify Shader Editor/Rotator"

From Amplify Creations Wiki
Jump to: navigation, search
(Rotator Node)
Line 1: Line 1:
 
== Rotator Node ==
 
== Rotator Node ==
'''UNDER CONSTRUCTION'''
 
  
 
The Rotator node rotates a UV or other Vector 2 position by a angular value of [[#paramTime|Time]] from an [[#paramAnchor|Anchor]] point.  
 
The Rotator node rotates a UV or other Vector 2 position by a angular value of [[#paramTime|Time]] from an [[#paramAnchor|Anchor]] point.  
If no input is set on [[#paramTimePort|Time]] input port then Unity internal timer is used to continuously increment the angular value and provide a rotation animation. On this situation the Time property acts as a multiplier over the timer value.
+
If no input is set on [[#paramTimePort|Time]] input port then Unity internal timer is used to continuously increment the angular value and provide a rotation animation. On this situation the Time property acts as a multiplier over the timer value.<br/>
 
On the other hand, if a connection is made on the Time input port then it will assume that value as the final one and do not use any kind of timer internally.
 
On the other hand, if a connection is made on the Time input port then it will assume that value as the final one and do not use any kind of timer internally.
  
Line 21: Line 20:
 
|- style="background: #e5e5e5;" |
 
|- style="background: #e5e5e5;" |
 
|id="paramTime" | Time   
 
|id="paramTime" | Time   
| Time multiplier, allows to scale values given by Unity internal timer. Only visible if the respective input port is not connected.
+
| Time multiplier, allows to scale Unity internal timer. Only visible if the respective input port is not connected.
 
| 0
 
| 0
 
|}
 
|}

Revision as of 09:07, 19 September 2017

Rotator Node

The Rotator node rotates a UV or other Vector 2 position by a angular value of Time from an Anchor point. If no input is set on Time input port then Unity internal timer is used to continuously increment the angular value and provide a rotation animation. On this situation the Time property acts as a multiplier over the timer value.
On the other hand, if a connection is made on the Time input port then it will assume that value as the final one and do not use any kind of timer internally.

Node Parameter Description Default Value
UV Point to be rotated. Only visible if the respective input port is not connected. 0,0
Anchor Anchor point to be used on rotation. Only visible if the respective input port is not connected. 0,0
Time Time multiplier, allows to scale Unity internal timer. Only visible if the respective input port is not connected. 0


Input Port Description Type
UV Point to be rotated. Vector 2
Anchor Anchor point to be used on rotation. Vector 2
Time Angle of rotation to be applied to specified point. Float


Back to Node List