Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSortSettings.cameraCustomSortAxis

Cambiar al Manual
public Vector3 cameraCustomSortAxis ;

Descripción

Used to calculate distance to objects, by comparing the positions of objects to this axis.

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

See Also: DrawRendererSettings, RenderLoop.DrawRenderers.