A game about forced loneliness, made by TACStudios
1# Normalize Node
2
3## Description
4
5Returns the normalized value of input **In**. The output vector will have the same direction as input **In** but a length of 1.
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_Normalize_float4(float4 In, out float4 Out)
20{
21 Out = normalize(In);
22}
23```