{}!Google Tag Manager end}} Struct ShadowSliceData | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Struct ShadowSliceData

    Struct container for shadow slice data.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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
    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
    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()
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)