Struct ShadowSliceData
Struct container for shadow slice data.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Syntax
public struct ShadowSliceData
Fields
offsetX
The X offset to the shadow map.
Declaration
public int offsetX
Field Value
Type | Description |
---|---|
Int32 |
offsetY
The Y offset to the shadow map.
Declaration
public int offsetY
Field Value
Type | Description |
---|---|
Int32 |
projectionMatrix
The projection matrix.
Declaration
public Matrix4x4 projectionMatrix
Field Value
Type | Description |
---|---|
UnityEngine.Matrix4x4 |
resolution
The maximum tile resolution in an Atlas.
Declaration
public int resolution
Field Value
Type | Description |
---|---|
Int32 |
shadowTransform
The shadow transform matrix.
Declaration
public Matrix4x4 shadowTransform
Field Value
Type | Description |
---|---|
UnityEngine.Matrix4x4 |
splitData
The shadow split data containing culling information.
Declaration
public ShadowSplitData splitData
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ShadowSplitData |
viewMatrix
The view matrix.
Declaration
public Matrix4x4 viewMatrix
Field Value
Type | Description |
---|---|
UnityEngine.Matrix4x4 |
Methods
Clear()
Clears and resets the data.
Declaration
public void Clear()