Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


projectionType

The projection type of the shadow-casting light to be rendered. For example, directional light shadow-maps will have orthographic projection. Spot lights will usually have perspective projection, but you might want to implement orthographically-projected box-shaped spot lights in your scriptable renderer pipeline. This member variable is accessible later, in the culling process, when rendering the shadow map.
Read time 1 minuteLast updated 5 days ago

Definition

Warning
Deprecated. ShadowDrawingSettings.projectionType is deprecated. There is no replacement for this parameter. You don't need to set it anymore.
public BatchCullingProjectionType projectionType { get; set; }

Remarks

Additional Resources: BatchCullingProjectionType enum.