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