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. |