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

DrawRendererSortSettings.cameraPosition

切换到手册
public Vector3 cameraPosition ;

描述

用于计算相对于对象的距离。

worldToCameraMatrix 一起用于确定到对象的距离以便排序。

另请参阅:DrawRendererSettings 和 RenderLoop.DrawRenderers。