Array of weather effects linked to this weather container.
The inverse occlusion mask filter bound to this container.
A default configuration of the terrain mask that is automatically applied to any shader-based weather effects. This configuration is automatically passed to WeatherShaderEffect#configureTerrainMask upon construction.
The container in which suppression meshed are added.
A default configuration of the terrain mask that is automatically applied to any shader-based weather effects. This configuration is automatically passed to WeatherShaderEffect#configureTerrainMask upon construction.
The container in which effects are added.
The zIndex of the displayObject.
If a container has the sortableChildren property set to true, children will be automatically sorted by zIndex value; a higher value will mean it will be moved towards the end of the array, and thus rendered on top of other display objects within the same container.
Static
layerClear the weather container.
Initialize the weather container from a weather config object.
Optional
weatherEffectsConfig: objectWeather config object (or null/undefined to clear the container).
Protected
Static
configureProtected
Set the occlusion uniforms for this weather shader.
The shader context
Occlusion masking options
Protected
Static
configureProtected
Set the terrain uniforms for this weather shader.
The shader context
Terrain masking options
A CanvasLayer for displaying visual effects like weather, transitions, flashes, or more.