![]() |
VR-Forces Developer's Guide
|
Configuration for one visibility tier (one audio layer).
Tiers are ordered lightest first (highest visibility, lowest fog intensity) to densest last (lowest visibility, highest fog intensity).
Public Attributes | |
| std::string | source |
| float | peakFromMeters = 9999.0f |
| float | peakToMeters = 0.0f |
| float | gain = 1.0f |
| std::string makVrv::DtVisibilitySoundTier::source |
WAV/OGG absolute path OR "ProceduralSound:<key>".
| float makVrv::DtVisibilitySoundTier::peakFromMeters = 9999.0f |
Visibility in metres at the clearer end of this tier's full-volume range. Documentary only; not used in the gain curve calculation.
| float makVrv::DtVisibilitySoundTier::peakToMeters = 0.0f |
Visibility in metres at the foggier end of this tier's full-volume range. Used as the crossfade boundary with the next denser tier.
| float makVrv::DtVisibilitySoundTier::gain = 1.0f |
per-tier linear master gain applied on top of the resolved clip dB when this tier is active. Default 1.0.