ShadowDrawingSettings Constructor

Declaration

public ShadowDrawingSettings(Rendering.CullingResults cullingResults, int lightIndex, Rendering.BatchCullingProjectionType projectionType);

Parameters

cullResults The cull results for this light.
lightIndex The light index.
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.

Description

Create a shadow settings object.

Additional resources: CullingResults.


Did you find this page useful? Please give it a rating: