Version: 2023.2

ShadowDrawingSettingsConstructor

切换到手册
Obsolete public ShadowDrawingSettings (Rendering.CullingResults cullingResults, int lightIndex, Rendering.BatchCullingProjectionType projectionType);

参数

cullResults 此光源的剔除结果。
lightIndex 光源索引。
projectionType The projection type of the shadow map. For directional lights this is usually BatchCullingProjectionType.Orthographic and for point or spot lights, it is usually BatchCullingProjectionType.Perspective.

描述

创建阴影设置对象。

另请参阅:CullingResults