Table des matières

virtual bool AK::SoundFrame::ISoundFrame::PlayEvents ( const AkUniqueID in_pEvents,
long  in_cEvents,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

Trigger playback of events in Wwise (using the unique IDs of events).

This function is thread-safe.

Note.gif
Note: Using the AK::SoundFrame::IGameObject::s_WwiseGameObject will result in playback on the default game object in Wwise.
Caution.gif
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.
Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_pEvents  Array of unique IDs of events
in_cEvents  Number of events in in_pEvents
in_gameObjectID  Game object on which events will be played (optional)