![]() |
VR-Forces Developer's Guide
|
Wave-action fog signal cadence configuration.
Two-anchor linear interpolation from wind speed (metres per second) to fog signal cycle period (seconds). Rougher sea (higher wind speed) typically shortens the cadence, so the "rough" anchor's period is usually lower than the "calm" anchor's period, but this is not enforced: the interpolation formula is symmetric and simply produces a monotonic ramp between the two authored anchors.
Public Attributes | |
| bool | myEnabled = false |
| float | myCalmWindMs = 0.0f |
| float | myRoughWindMs = 15.0f |
| float | myCalmPeriodSeconds = 0.0f |
| float | myRoughPeriodSeconds = 0.0f |
| bool | myUseLocalWeather = false |
| bool makVrv::DtFogWaveAction::myEnabled = false |
When false, the runtime treats this configuration as absent and falls back to the model's static SIGSEQ / default-sequence path. Emitters that carry wave action set this to true; default- constructed instances (used when no wave action is authored) leave it false. This lets the signal carrier avoid an extra side-channel bool and stay under Boost's 10-parameter cap.
| float makVrv::DtFogWaveAction::myCalmWindMs = 0.0f |
Wind speed (m/s) at the calm-sea anchor. Default 0.0.
Referenced by makVrv::periodForWindSpeed().
| float makVrv::DtFogWaveAction::myRoughWindMs = 15.0f |
Wind speed (m/s) at the rough-sea anchor. Default 15.0.
Referenced by makVrv::periodForWindSpeed().
| float makVrv::DtFogWaveAction::myCalmPeriodSeconds = 0.0f |
Fog signal cycle period (seconds) at the calm-sea anchor.
Referenced by makVrv::periodForWindSpeed().
| float makVrv::DtFogWaveAction::myRoughPeriodSeconds = 0.0f |
Fog signal cycle period (seconds) at the rough-sea anchor.
Referenced by makVrv::periodForWindSpeed().
| bool makVrv::DtFogWaveAction::myUseLocalWeather = false |
When true, the runtime resolves wind speed via DtLocalWeatherQuery::getLocalWind at the observer position before falling back to the global scene wind speed.