docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShadowSliceData

    Struct container for shadow slice data.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)