docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ForceEvictLight

    ForceEvictLight(HDAdditionalLightData)

    This function can be used to evict a light from its atlas. The slots occupied by such light will be available to be occupied by other shadows. Note that eviction happens automatically upon light destruction and, if lightData.preserveCachedShadow is false, upon disabling of the light.

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

    The light to evict from the atlas.

    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)