VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Attributes
makVrv::DtProceduralClipConfig Struct Reference

Configuration for one WAV clip within a DtProceduralLayerConfig.

Public Attributes

std::string wavFile
 
float weight = 1.0f
 
float decibelsDb = 0.0f
 
float minAudibleDistanceM = -1.0f
 
float maxAudibleDistanceM = -1.0f
 
makAudio::DtAbstractAudio::Priority priority = makAudio::DtAbstractAudio::BACKGROUND_FX
 

Member Data Documentation

std::string makVrv::DtProceduralClipConfig::wavFile

Fully-resolved or path-variable filesystem path to a .wav file. e.g. "$(SHARED_DATA_DIR)/Audio/soundscapes/Ambient/Bird1.wav".

Referenced by makVrv::serialize().

float makVrv::DtProceduralClipConfig::weight = 1.0f

Relative selection probability when multiple clips are loaded. Higher weight = more often chosen. Default 1.0.

Referenced by makVrv::serialize().

float makVrv::DtProceduralClipConfig::decibelsDb = 0.0f

Absolute recorded reference level of this clip in dB. Applied per-event as 10^(dB/20) linear gain in addition to layer per-event random gain and tier master gain. Default 0.0.

Referenced by makVrv::serialize().

float makVrv::DtProceduralClipConfig::minAudibleDistanceM = -1.0f

Inner-radius override for 3D distance attenuation, in metres. Value equal to DtAudioLevel::kUseDefaultDistance (-1.0) leaves the audio engine's physical-model reference distance in place.

float makVrv::DtProceduralClipConfig::maxAudibleDistanceM = -1.0f

Outer-radius override for 3D distance attenuation, in metres. Value equal to DtAudioLevel::kUseDefaultDistance (-1.0) leaves the audio engine's physical-model max-falloff distance in place.

makAudio::DtAbstractAudio::Priority makVrv::DtProceduralClipConfig::priority = makAudio::DtAbstractAudio::BACKGROUND_FX

Voice-pool preemption priority for this clip. Defaults to BACKGROUND_FX; raise for clips the mix must retain when the voice budget is exhausted.


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)