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

ScriptableCullingParameters

struct in UnityEngine.Experimental.Rendering

切换到手册

描述

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

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

变量

cameraProperties用于剔除的摄像机属性。
cullingFlags用于剔除的剔除标志。
cullingMask用于剔除的 CullingMask。
cullingMatrix用于剔除的 CullingMatrix。
cullingPlaneCount要使用的剔除平面数量。
cullStereoProj为单通道立体剔除生成的投影矩阵。
cullStereoSeparation虚拟眼睛之间的距离。
cullStereoView为单通道立体剔除生成的视图矩阵。
isOrthographic剔除正视图。
layerCull要剔除的层。
lodParameters用于剔除的 LODParameter。
position剔除原点的位置。
reflectionProbeSortOptions剔除的反射探针排序选项。
sceneMask用于剔除的场景遮罩。
shadowDistance用于剔除的阴影距离。

公共函数

GetCullingPlane在指定索引处获取剔除平面。
GetLayerCullDistance获取特定层的剔除的距离。
SetCullingPlane在指定索引处设置剔除平面。
SetLayerCullDistance设置特定层的剔除的距离。