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

TypeNameDescription
boolenabledDefault true.
floatwindSpeedDefault 3.0f.
floatwindDirectionDegreesDefault 0.0f.
floatgustinessDefault 0.4f.
floatturbulenceDefault 0.3f.
floatrainIntensityDefault 0.0f.
floatpuddleAmountDefault 1.0f.
floatwettingSecondsDefault 45.0f.
floatdryingSecondsDefault 240.0f.
floatrainAudioVolumeDefault 0.7f.
std::stringrainAudioClipEmpty = the engine's synthesized rain bed.

Constructors

SignatureNameDescription
WeatherComponent() = defaultWeatherComponent

Function details

WeatherComponent

C++
WeatherComponent() = default
Generated from Game/Components/WeatherComponent.h via game.json · Dec 5, 2026Version 1.1.0