struct
WeatherComponent
The world's weather: one wind and one rain state every consumer (foliage, grass, clouds, rain surfaces, rain audio) reads from the same place.
- Module
- Game
- Header
#include "Game/Components/WeatherComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | windSpeed | Default 3.0f. |
float | windDirectionDegrees | Default 0.0f. |
float | gustiness | Default 0.4f. |
float | turbulence | Default 0.3f. |
float | rainIntensity | Default 0.0f. |
float | puddleAmount | Default 1.0f. |
float | wettingSeconds | Default 45.0f. |
float | dryingSeconds | Default 240.0f. |
float | rainAudioVolume | Default 0.7f. |
std::string | rainAudioClip | Empty = the engine's synthesized rain bed. |
Constructors
| Signature | Name | Description |
|---|---|---|
WeatherComponent() = default | WeatherComponent |
Function details
WeatherComponent
C++
WeatherComponent() = defaultGenerated from Game/Components/WeatherComponent.h via game.json · Dec 5, 2026Version 1.1.0