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