VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions | Private Member Functions
makVrv::DtFogSignalConfig Class Reference

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
 

Constructor & Destructor Documentation

makVrv::DtFogSignalConfig::DtFogSignalConfig ( )
privatedelete

Member Function Documentation

static float makVrv::DtFogSignalConfig::resolveVisibilityThreshold ( DtDe &  de)
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.

Warning
The shared state's model definition manager throws DtCorruptedState when DtDe::initialized() is false. Callers must defer the lookup to DtDe::signal_postInitialize (or later); invoking from a constructor reached during DtDe::initialize() (for example, from DtTerrain or its sub-managers) will throw.
Parameters
deSimulation environment whose shared model definition manager is queried.
Returns
Threshold in meters; never negative or zero.

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)