docs.unity.cn
    Show / Hide Table of Contents

    Enum ShadowUpdateMode

    Shadow Update mode

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum ShadowUpdateMode

    Fields

    Name Description Value
    EveryFrame

    Shadow map will be rendered at every frame.


    0
    OnEnable

    Shadow will be rendered only when the OnEnable of the light is called.


    1
    OnDemand

    Shadow will be rendered when you call HDAdditionalLightData.RequestShadowMapRendering().


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 September 2023