![]() |
VR-Forces Developer's Guide
|
Scene-wide configuration knobs for the fog signal subsystem, sourced from the "FogSignals" model definition.
Centralizes lookups that are shared by more than one fog-aware manager so the lookup logic is not duplicated across libraries. The current scope is the visibility threshold consumed by both DtFogSignalManager (audio gate) and DtNavigationLightManager (EXCLIT=Fog light gate).
All methods are static; the class is non-instantiable.
Static Public Member Functions | |
| static float | resolveVisibilityThreshold (DtDe &de) |
Private Member Functions | |
| DtFogSignalConfig ()=delete | |
|
privatedelete |
|
static |
Read the visibility threshold (meters) from the "FogSignals" model definition.
Returns the value of the optional fog_signal_visibility_threshold parameter when it is present and strictly positive. Falls back to DtSkyObject::theDefaultFogVisibilityLevel when the FogSignals model definition is absent, the parameter is not authored, or the authored value is non-positive.
| de | Simulation environment whose shared model definition manager is queried. |