Vector3::unit
This function returns a normalized copy of a Vector3- one that has the same direction but with a magnitude of 1.
Syntax
vector.unit();
Returns
- Vector3 The normalized vector.
See Also
- Functions
- Properties
- Vector3::x
- Vector3::y
- Vector3::z