Method Normalize
Normalize()
Converts the vector into a unit vector.
Declaration
public void Normalize()
Normalize(Vector3)
Converts the vector into a unit vector.
Declaration
public static Vector3 Normalize(Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector | The vector to normalize. |
Returns
Type | Description |
---|---|
Vector3 | The normalized vector. |