Maps trigger identifier names to id's of internal audio project. Audio projects can be setup via SDL, WWISE or FMOD. More...
Public Member Functions | |
delegate void | ManagedAudioStateListenerDelegate (AudioStateType audioState, string triggerName) |
Public listener for audio request listener in C# More... | |
Static Public Member Functions | |
static bool | Play (string triggerName) |
Retrieves and executes the specified audio trigger by name More... | |
static AudioTriggerId | GetTriggerId (string triggerName) |
Returns the trigger id of the specified audio trigger More... | |
static bool | Play (AudioTriggerId triggerId) |
Plays the audio specified by the trigger id. Returns true if the trigger id is valid More... | |
static bool | Stop (string triggerName) |
Stops the audio trigger by the specified name. Only audio triggers that have been "played" can be stopped. More... | |
static bool | Stop (AudioTriggerId triggerId) |
Stops the specified audio trigger. Only audio triggers that have been "played" can be stopped. More... | |
static void | StopAllTriggers () |
Stops all active audio triggers. More... | |
static void | StopAllSounds () |
Stops all playing audio More... | |
static void | EnableAllSound (bool enabled) |
Mute or unmute all sounds More... | |
static string | GetConfigurationPath () |
Returns the path in which audio configuration data is stored More... | |
static void | SetParameter (string parameterName, float parameterVal) |
Sets the specified audio parameter with the specified name to the specified value More... | |
static void | SetSwitchState (string switchName, string switchStateName) |
Sets the Audio switch with the specified name to the specified state name More... | |
static bool | AddAudioStateListener (string triggerName, ManagedAudioStateListenerDelegate requestListener) |
static bool | RemoveAudioStateListener (string triggerName) |
Maps trigger identifier names to id's of internal audio project. Audio projects can be setup via SDL, WWISE or FMOD.
|
inline static |
triggerName | |
requestListener |
|
inline static |
Mute or unmute all sounds
enabled |
|
inline static |
Returns the path in which audio configuration data is stored
|
inline static |
Returns the trigger id of the specified audio trigger
triggerName |
delegate void CryEngine.Audio.ManagedAudioStateListenerDelegate | ( | AudioStateType | audioState, |
string | triggerName | ||
) |
Public listener for audio request listener in C#
audioState | |
triggerName |
|
inline static |
Retrieves and executes the specified audio trigger by name
triggerName |
|
inline static |
Plays the audio specified by the trigger id. Returns true if the trigger id is valid
triggerId |
|
inline static |
triggerName |
|
inline static |
Sets the specified audio parameter with the specified name to the specified value
parameterName | |
parameterVal |
|
inline static |
Sets the Audio switch with the specified name to the specified state name
switchName | |
switchStateName |
|
inline static |
Stops the audio trigger by the specified name. Only audio triggers that have been "played" can be stopped.
triggerName |
|
inline static |
Stops the specified audio trigger. Only audio triggers that have been "played" can be stopped.
triggerId |
|
inline static |
Stops all playing audio
|
inline static |
Stops all active audio triggers.