Method BlendLightingScenario
BlendLightingScenario(string, float)
Allows smooth transitions between two lighting scenarios. This only affects the runtime data used for lighting.
Declaration
public void BlendLightingScenario(string otherScenario, float blendingFactor)
Parameters
Type | Name | Description |
---|---|---|
string | otherScenario | The name of the scenario to load. |
float | blendingFactor | The factor used to interpolate between the active scenario and otherScenario. Accepted values range from 0 to 1 and will progressively blend from the active scenario to otherScenario. |