VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRainSoundConfig.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvAudio/vrvAudio.h>
13 
14 #include <map>
15 #include <string>
16 #include <vector>
17 
18 namespace makVrv
19 {
23  {
25  std::string source;
26 
30  float peakFromMmhr = 0.0f;
31 
34  float peakToMmhr = 9999.0f;
35 
38  float gain = 1.0f;
39  };
40 
52  {
54  float crossfadeWidthMmhr = 20.0f;
55 
57  float onsetRampMmhr = 3.0f;
58 
60  std::vector<DtRainSoundTier> tiers;
61 
65  static DtRainSoundConfig makeDefault();
66 
73  static DtRainSoundConfig fromParams(const std::map<std::string, std::string>& params);
74  };
75 
76 } // namespace makVrv
Contains the DLL export macro for vrvAudio classes.
Configuration for one rain intensity tier (one audio layer).
Definition: DtRainSoundConfig.h:22
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
std::string source
WAV/OGG absolute path OR &quot;ProceduralSound:&lt;key&gt;&quot;.
Definition: DtRainSoundConfig.h:25
Full configuration for DtRainSoundBehavior.
Definition: DtRainSoundConfig.h:51
std::vector< DtRainSoundTier > tiers
Ordered list of tiers, lowest intensity first.
Definition: DtRainSoundConfig.h:60

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)