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 | Public Attributes
makVrv::DtWindSoundConfig Struct Reference

Full configuration for DtWindSoundBehavior.

Static Public Member Functions

static DtWindSoundConfig makeDefault ()
 
static DtWindSoundConfig fromParams (const std::map< std::string, std::string > &params)
 

Public Attributes

float crossfadeWidthMs = 3.0f
 
float onsetRampMs = 1.0f
 
std::vector< DtWindSoundTier > tiers
 

Member Function Documentation

static DtWindSoundConfig makVrv::DtWindSoundConfig::makeDefault ( )
static

Build and return the default hardcoded config. Tier paths use tokens; call DtDePathConfiguration::resolvePath() before passing to DtWindSoundBehavior.

static DtWindSoundConfig makVrv::DtWindSoundConfig::fromParams ( const std::map< std::string, std::string > &  params)
static

Build a config from a key-value parameter map. Recognised keys: "crossfadeWidthMs", "onsetRampMs", "tierN.source", "tierN.peakFrom", "tierN.peakTo", "tierN.gain" (N=0,1,2,...). Falls back to "tierN.wav" for the source key (backwards compatibility). Any absent key falls back to the corresponding makeDefault() value.

Parameters
paramsMap produced by DtProceduralSoundscapeChannel::windBehaviorParams.

Member Data Documentation

float makVrv::DtWindSoundConfig::crossfadeWidthMs = 3.0f

Total crossfade zone width in m/s.

float makVrv::DtWindSoundConfig::onsetRampMs = 1.0f

Onset ramp width in m/s for the first tier (ramp from 0 to first threshold).

std::vector<DtWindSoundTier> makVrv::DtWindSoundConfig::tiers

Ordered tiers, lowest speed first.


The documentation for this struct 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)