版本

menu_open
Wwise SDK 2019.1.11
ak.soundengine.seekOnEvent

Seek inside all playing objects that are referenced in Play Actions of the specified Event. See AK::SoundEngine::SeekOnEvent.

Arguments

Name Type Description
seekToNearestMarker boolean If true, the final seeking position will be made equal to the nearest marker.
gameObject integer Associated game object ID; use AK_INVALID_GAME_OBJECT to affect all game objects.
A game object ID, unsigned integer 64-bit.
Range: [0,18446744073709551615]
percent number Desired position where playback should restart, expressed in a percentage of the file's total duration, between 0 and 1.f. See note above about infinite looping sounds.
playingId integer 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. Use AK_INVALID_PLAYING_ID or nothing, to seek on all active Actions of this Event ID.
Unsigned Integer 32-bit.
Range: [0,4294967295]
position integer Desired position where playback should restart, in milliseconds.
Integer 32-bit.
Range: [-2147483648,2147483647]
event any of: Either the ID (GUID), name, or short ID of the Event.
string The name of the object.
string An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
integer The Short ID of a Wwise Object.
Unsigned Integer 32-bit.
Range: [0,4294967295]

Arguments Schema

See Also

Examples

Refer to 使用 Wwise Authoring API(WAAPI) for more information about WAAPI.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅