기술 자료

Unity Engine

Unity Engine

customAxis

Used to calculate distance to objects, by comparing the positions of objects to this axis.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Vector3 customAxis { get; set; }

Remarks

When the sorting mode is set to Custom Axis, use this together with SortingSettings.worldToCameraMatrix and SortingSettings.cameraPosition to determine the distances to objects for sorting.