ShadowSplitData
Describes the culling information for a given shadow split (e.g. directional cascade).
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<ShadowSplitData>
public struct ShadowSplitData : IEquatable<ShadowSplitData>
Static Fields
Value | Description |
|---|---|
| maximumCullingPlaneCount | The maximum number of culling planes. |
Properties
Property | Description |
|---|---|
| cullingMatrix | The model view projection matrix Unity uses to cull objects it renders into this shadow map. |
| cullingNearPlane | The near plane distance that Unity uses to cull objects. Unity transforms the objects with ShadowSplitData.cullingMatrix, and then culls the ones that are farther than the near plane distance. |
| cullingPlaneCount | The number of culling planes. |
| cullingSphere | The culling sphere. The first three components of the vector describe the sphere center, and the last component specifies the radius. |
| shadowCascadeBlendCullingFactor | A multiplier applied to the radius of the culling sphere. |
Methods
Method | Description |
|---|---|
| GetCullingPlane | Gets a culling plane. |
| SetCullingPlane | Sets a culling plane. |