docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSunLightCookieParameters

    GetSunLightCookieParameters(CloudSettings, ref CookieParameters)

    Get the parameters for overriding the main directional light cookie for one frame.

    Declaration
    public virtual bool GetSunLightCookieParameters(CloudSettings settings, ref CookieParameters cookieParams)
    Parameters
    Type Name Description
    CloudSettings settings

    Current cloud settings.

    CookieParameters cookieParams

    Overriden values for cookie parameters.

    Returns
    Type Description
    bool

    True if the cookie should be overriden and RenderSunLightCookie should be called.

    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)