normalized
The unit vector in the direction of the current vector.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Vector3 normalized { get; }
Remarks
This property holds a normalized vector based on the current vector. The normalized vector has a Vector3.magnitude of 1 and is in the same direction as the current vector.
If the current vector is too small to be normalized, then the value of is the zero vector. A vector is too small to be normalized if it is considered equal to the zero vector.
normalizedNote that this does not modify the current vector. To modify and normalize the current vector, use the instance version of the Vector3.Normalize method.
Additional Resources: Vector3.Normalize.