VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtProceduralSoundBehaviorContext.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 namespace makVrv
13 {
21  {
24  float myProximityFactor = 0.0f;
25 
28  double mySignedDistanceMeters = 0.0;
29 
34  float myChannelBaseVolumeDb = 70.0f;
35 
42  float myDensityScale = 1.0f;
43 
45  double myElapsedSeconds = 0.0;
46 
49  int myClipCount = 0;
50  };
51 
52 } // namespace makVrv
float myDensityScale
Channel's configured densityScale.
Definition: DtProceduralSoundBehaviorContext.h:42
Read-only context passed to every DtProceduralSoundBehavior callback.
Definition: DtProceduralSoundBehaviorContext.h:20
double mySignedDistanceMeters
Signed distance from the nearest matching feature in metres. Negative = inside the polygon...
Definition: DtProceduralSoundBehaviorContext.h:28
int myClipCount
Number of clips currently loaded in the layer being mixed. 0 when called from the manager update path...
Definition: DtProceduralSoundBehaviorContext.h:49
double myElapsedSeconds
Time elapsed since the last frame in seconds.
Definition: DtProceduralSoundBehaviorContext.h:45
float myChannelBaseVolumeDb
Channel base-volume input, before behavior override; passed as a reference only. The behavior may use...
Definition: DtProceduralSoundBehaviorContext.h:34
float myProximityFactor
Fade factor [0.0, 1.0]; 1.0 = fully inside the feature polygon, 0.0 = at the fade boundary...
Definition: DtProceduralSoundBehaviorContext.h:24

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)