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

    Struct ShadowData

    Container struct for various data used for shadows in URP.

    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 ShadowData

    Fields

    additionalLightsShadowmapHeight

    The height of the additional light shadow map.

    Declaration
    public int additionalLightsShadowmapHeight
    Field Value
    Type Description
    Int32

    additionalLightsShadowmapWidth

    The width of the additional light shadow map.

    Declaration
    public int additionalLightsShadowmapWidth
    Field Value
    Type Description
    Int32

    bias

    A list of shadow bias.

    Declaration
    public List<Vector4> bias
    Field Value
    Type Description
    List<Vector4>

    mainLightShadowCascadeBorder

    Main light last cascade shadow fade border. Value represents the width of shadow fade that ranges from 0 to 1. Where value 0 is used for no shadow fade.

    Declaration
    public float mainLightShadowCascadeBorder
    Field Value
    Type Description
    Single

    mainLightShadowCascadesCount

    The number of shadow cascades.

    Declaration
    public int mainLightShadowCascadesCount
    Field Value
    Type Description
    Int32

    mainLightShadowCascadesSplit

    The split between cascades.

    Declaration
    public Vector3 mainLightShadowCascadesSplit
    Field Value
    Type Description
    Vector3

    mainLightShadowmapHeight

    The height of the main light shadow map.

    Declaration
    public int mainLightShadowmapHeight
    Field Value
    Type Description
    Int32

    mainLightShadowmapWidth

    The width of the main light shadow map.

    Declaration
    public int mainLightShadowmapWidth
    Field Value
    Type Description
    Int32

    resolution

    A list of resolution for the shadow maps.

    Declaration
    public List<int> resolution
    Field Value
    Type Description
    List<Int32>

    shadowmapDepthBufferBits

    The number of bits used.

    Declaration
    public int shadowmapDepthBufferBits
    Field Value
    Type Description
    Int32

    supportsAdditionalLightShadows

    True if additional lights shadows are enabled.

    Declaration
    public bool supportsAdditionalLightShadows
    Field Value
    Type Description
    Boolean

    supportsMainLightShadows

    True if main light shadows are enabled.

    Declaration
    public bool supportsMainLightShadows
    Field Value
    Type Description
    Boolean

    supportsSoftShadows

    True if soft shadows are enabled.

    Declaration
    public bool supportsSoftShadows
    Field Value
    Type Description
    Boolean
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)