A game about forced loneliness, made by TACStudios
1# Sign Node
2
3## Description
4
5Per component, returns -1 if the value of input **In** is less than zero, 0 if equal to zero and 1 if greater than zero.
6
7## Ports
8
9| Name | Direction | Type | Description |
10|:------------ |:-------------|:-----|:---|
11| In | Input | Dynamic Vector | Input value |
12| Out | Output | Dynamic Vector | Output value |
13
14## Generated Code Example
15
16The following example code represents one possible outcome of this node.
17
18```
19void Unity_Sign_float4(float4 In, out float4 Out)
20{
21 Out = sign(In);
22}
23```