Vector3.normalized

public Vector3 normalized;

Description

Returns a normalized vector based on the current vector. The normalized vector has a magnitude of 1 and is in the same direction as the current vector. Returns a zero vector If the current vector is too small to be normalized.

Note that this does not modify the current vector. To modify and normalize the current vector, use the Normalize function without a parameter.

Additional resources: Normalize function.


Did you find this page useful? Please give it a rating: