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

DrawRendererSortSettings.cameraPosition

切换到手册
public Vector3 cameraPosition ;

描述

摄像机位置,用于确定到对象的距离。

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

另请参阅:DrawRendererSettings 和 RenderLoop.DrawRenderers。