기술 자료

Unity Engine

Unity Engine

direction

The direction of the ray.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector3 direction { get; set; }

Remarks

Direction is always a normalized vector. If you assign a vector of non unit length, it will be normalized.