기술 자료

Unity Engine

Download Unity

Unity Engine

Distance

Get/set the distance of the plane from the origin. May be a negative value.
읽는 시간 1분최근 업데이트: 3시간 전

Definition

public float Distance { get; set; }

Remarks

It is assumed that the normal is unit length. If you set a new plane such that Ax + By + Cz + Dw = 0 but (A, B, C) is not unit length, then you must normalize the plane by calling Plane.Normalize.