ShadowDrawingSettings
Create a shadow settings object.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
ShadowDrawingSettings(CullingResults, int)
Create a shadow settings object.
public ShadowDrawingSettings(CullingResults cullingResults, int lightIndex)
Parameters
Remarks
Additional Resources: CullingResults.
ShadowDrawingSettings(CullingResults, int, BatchCullingProjectionType)
Create a shadow settings object.
public ShadowDrawingSettings(CullingResults cullingResults, int lightIndex, BatchCullingProjectionType projectionType)
Parameters
The light index.
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.
Remarks
Additional Resources: CullingResults.