docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShadowData

    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 ShadowData

    Fields

    additionalLightsShadowmapHeight

    Declaration
    public int additionalLightsShadowmapHeight
    Field Value
    Type Description
    int

    additionalLightsShadowmapWidth

    Declaration
    public int additionalLightsShadowmapWidth
    Field Value
    Type Description
    int

    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
    float

    mainLightShadowCascadesCount

    Declaration
    public int mainLightShadowCascadesCount
    Field Value
    Type Description
    int

    mainLightShadowCascadesSplit

    Declaration
    public Vector3 mainLightShadowCascadesSplit
    Field Value
    Type Description
    Vector3

    mainLightShadowmapHeight

    Declaration
    public int mainLightShadowmapHeight
    Field Value
    Type Description
    int

    mainLightShadowmapWidth

    Declaration
    public int mainLightShadowmapWidth
    Field Value
    Type Description
    int

    resolution

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

    shadowmapDepthBufferBits

    Declaration
    public int shadowmapDepthBufferBits
    Field Value
    Type Description
    int

    supportsAdditionalLightShadows

    Declaration
    public bool supportsAdditionalLightShadows
    Field Value
    Type Description
    bool

    supportsMainLightShadows

    Declaration
    public bool supportsMainLightShadows
    Field Value
    Type Description
    bool

    supportsSoftShadows

    Declaration
    public bool supportsSoftShadows
    Field Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)