ドキュメント

Unity Engine

Unity Engine

customAxis

Used to calculate distance to objects, by comparing the positions of objects to this axis.
読み終わるまでの所要時間 1 分最終更新 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.