OpenBarnyard
 
Loading...
Searching...
No Matches
ASoundManager::EventParameters Struct Reference

#include <ASoundManager.h>

Public Member Functions

TFLOAToperator[] (TUINT a_uiIndex)
 
TFLOAT operator[] (TUINT a_uiIndex) const
 

Public Attributes

TFLOAT aParams [MAX_NUM_PARAMS]
 

Static Public Attributes

static constexpr TSIZE MAX_NUM_PARAMS = 3
 

Detailed Description

Definition at line 58 of file ASoundManager.h.

Member Function Documentation

◆ operator[]() [1/2]

TFLOAT & ASoundManager::EventParameters::operator[] ( TUINT a_uiIndex)
inline

Definition at line 64 of file ASoundManager.h.

65 {
66 TASSERT( a_uiIndex < MAX_NUM_PARAMS );
67 return aParams[ a_uiIndex ];
68 }
#define TASSERT(X,...)
Definition Defines.h:138
TFLOAT aParams[MAX_NUM_PARAMS]
static constexpr TSIZE MAX_NUM_PARAMS

◆ operator[]() [2/2]

TFLOAT ASoundManager::EventParameters::operator[] ( TUINT a_uiIndex) const
inline

Definition at line 70 of file ASoundManager.h.

71 {
72 TASSERT( a_uiIndex < MAX_NUM_PARAMS );
73 return aParams[ a_uiIndex ];
74 }

Member Data Documentation

◆ aParams

TFLOAT ASoundManager::EventParameters::aParams[MAX_NUM_PARAMS]

Definition at line 77 of file ASoundManager.h.

◆ MAX_NUM_PARAMS

TSIZE ASoundManager::EventParameters::MAX_NUM_PARAMS = 3
staticconstexpr

Definition at line 61 of file ASoundManager.h.


The documentation for this struct was generated from the following file: