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

CullingParameters

struct in UnityEngine.Experimental.Rendering

切换到手册

描述

CullResults 中控制剔除过程的参数。

典型的用例是计算 Camera 数据中的剔除参数,请参阅 CullResults.GetCullingParameters

变量

cullingMaskLayer mask used for culling.
cullingMatrixWorld to clip space matrix.
cullingPlaneCount要使用的剔除平面数量。
isOrthographicTrue if camera is orthographic (this affects LOD culling).
lodParameters LODGroup 剔除参数。
position摄像机位置。
reflectionProbeSortOptions可见反射探针排序选项。
shadowDistanceRealtime shadows distance.

公共函数

GetCullingPlaneGet a culling plane.
GetLayerCullDistanceGet per-layer culling distance.
SetCullingPlaneSet a culling plane.
SetLayerCullDistanceSet per-layer culling distance.