docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ForceRegisterLight

    ForceRegisterLight(HDAdditionalLightData)

    This function can be used to register a light to the cached shadow system if not already registered. It is necessary to call this function if a light has been evicted with ForceEvictLight and it needs to be registered again. Please note that a light is automatically registered when enabled or when the shadow update changes from EveryFrame to OnDemand or OnEnable.

    Declaration
    public void ForceRegisterLight(HDAdditionalLightData lightData)
    Parameters
    Type Name Description
    HDAdditionalLightData lightData

    The light to register.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)