normalized
Creates a normalized copy of a vector based on the current vector.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Vector4 normalized { get; }
Remarks
The normalized vector has a Vector4.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. This property doesn't modify the current vector. To modify and normalize the current vector, use the Vector4.Normalize method.
Additional Resources: Vector4.Normalize method.