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

A named collection of clips with per-event randomization controls.

Each group is loaded as one DtProceduralSoundLayer in a DtBallisticSoundStream. When a CPA trigger fires, the manager calls triggerEvent() on the matching layer, which picks a clip by weight and applies randomized pitch and gain.

Public Member Functions

 DtBallisticSoundGroup ()
 

Public Attributes

std::string myName
 
std::vector
< DtBallisticSoundClipEntry > 
myClips
 
float myPitchMin
 
float myPitchMax
 
float myGainMin
 
float myGainMax
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

makVrv::DtBallisticSoundGroup::DtBallisticSoundGroup ( )

Member Function Documentation

template<class Archive >
void makVrv::DtBallisticSoundGroup::serialize ( Archive &  ar,
const unsigned  int 
)
inlineprivate

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

std::string makVrv::DtBallisticSoundGroup::myName

Unique name for this group (e.g. "default", "rifle", "heavy").

std::vector<DtBallisticSoundClipEntry> makVrv::DtBallisticSoundGroup::myClips

Clips in this group; at least one clip is needed for the group to produce audio.

float makVrv::DtBallisticSoundGroup::myPitchMin

Minimum pitch factor applied to each triggered event; default 0.92.

float makVrv::DtBallisticSoundGroup::myPitchMax

Maximum pitch factor applied to each triggered event; default 1.08.

float makVrv::DtBallisticSoundGroup::myGainMin

Minimum linear gain [0..1] applied to each triggered event; default 0.8.

float makVrv::DtBallisticSoundGroup::myGainMax

Maximum linear gain [0..1] applied to each triggered event; default 1.0.


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)