Table des matières

virtual bool AK::SoundFrame::ISoundFrame::SeekOnEvent ( AkUniqueID  in_eventID,
AkGameObjectID  in_gameObjectID,
AkReal32  in_fPercent,
bool  in_bSeekToNearestMarker = false,
AkPlayingID  in_PlayingID = AK_INVALID_PLAYING_ID  
) [pure virtual]

Seek inside all playing objects that are referenced in play actions of the specified event. The position is specified in % or the sound being played.

See also:
True if the operation was successful, False otherwise
in_eventID  Unique ID of the event
in_gameObjectID  Associated game object ID; use AK_INVALID_GAME_OBJECT to affect all game objects
in_fPercent  Desired position where playback should restart, in percent
in_bSeekToNearestMarker  If true, the final seeking position will be made equal to the nearest marker (see note above)
in_PlayingID  Specify the playing ID for the seek to be applied to. Will result in the seek happening only on active actions of the playing ID. Let it be AK_INVALID_PLAYING_ID or do not specify any, to seek on all active actions of this event ID.