Table des matières

virtual bool AK::SoundFrame::ISoundFrame::PlayEvents ( LPCWSTR *  in_pszEvents,
long  in_cEvents,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

Trigger playback of events in Wwise (using event names).

This function is thread-safe.

Note: Using the AK::SoundFrame::IGameObject::s_WwiseGameObject will result in playback on the default game object in Wwise.
Caution: Event playback in Wwise is not synchronized. Even if multiple events are sent in the same PlayEvents() call, they might not all start at the exact same time.
True if the operation was successful, False otherwise
See also:
in_pszEvents  Array of event names
in_cEvents  Number of events in in_pszEvents
in_gameObjectID  Game object on which events will be played (optional)