기술 자료

Unity Engine

Unity Engine

normalized

Creates a normalized copy of a vector based on the current vector.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public readonly 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.