[]
Converts the vector into a unit vector.
public static void NormalizeRef(ref Vector2 value)
Type | Name | Description |
---|---|---|
Vector2 | value | The vector to normalize. |
Converts the vector into a unit vector.
public static void NormalizeRef(out Vector2 result, ref Vector2 value)
Type | Name | Description |
---|---|---|
Vector2 | result | When the method completes, contains the normalized vector. |
Vector2 | value | The vector to normalize. |