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

DrawRendererSortSettings.worldToCameraMatrix

Switch to Manual
public Matrix4x4 worldToCameraMatrix ;

Description

摄像机视图矩阵,用于确定到对象的距离。

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

另请参阅:DrawRendererSettings 和 RenderLoop.DrawRenderers。