Unity Products:Amplify Shader Editor/ATan2
ATan2 Node
The ATan2 node outputs the arctangent of the division A/B. If (B,A) defines a (x,y) vector then using this operator returns the angle in radians it does with the x-axis
NOTE: ATan2 between multi-channel data types are done per-channel. If A and B have different channel amounts a cast is done to match the one with the most amount of channels.
Nodes used:
Texture Coordinates,
ATan2,
Tau,
Divide,
Float,
Add,
Vector2,
HSV to RGB,
Length,
One Minus
Node Parameter | Description | Default Value |
---|---|---|
A | Dividend of the division operation. Only visible if the respective input port is not connected. | 0 |
B | Divisor of the division operation. Only visible if the respective input port is not connected. | 0 |
Input Port | Description | Type |
---|---|---|
A | Dividend of the division operation. | Float [1] |
B | Divisor of the division operation. The outputted result will have its sign given by this parameter. | Float [1] |