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
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public BatchCullingProjectionType projectionType { get; set; }
Remarks
Additional Resources: BatchCullingProjectionType enum.