版本

menu_open
Wwise SDK 2019.1.11
ak.soundengine.seekOnEvent Arguments Schema

Schema

{
"additionalProperties": false,
"oneOf": [
{
"required": [
"event",
"gameObject",
"position",
"seekToNearestMarker",
"playingId"
]
},
{
"required": [
"event",
"gameObject",
"percent",
"seekToNearestMarker",
"playingId"
]
}
],
"type": "object",
"properties": {
"seekToNearestMarker": {
"type": "boolean",
"description": "If true, the final seeking position will be made equal to the nearest marker."
},
"gameObject": {
"minimum": 0,
"type": "integer",
"description": "Associated game object ID; use <tt>AK_INVALID_GAME_OBJECT</tt> to affect all game objects.\\n A game object ID, unsigned integer 64-bit.",
"maximum": 18446744073709551615
},
"percent": {
"type": "number",
"description": "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": {
"minimum": 0,
"type": "integer",
"description": "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 \\c AK_INVALID_PLAYING_ID or nothing, to seek on all active Actions of this Event ID.\\n Unsigned Integer 32-bit.",
"maximum": 4294967295
},
"position": {
"minimum": -2147483648,
"type": "integer",
"description": "Desired position where playback should restart, in milliseconds.\\n Integer 32-bit.",
"maximum": 2147483647
},
"event": {
"anyOf": [
{
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9]*$",
"type": "string",
"description": "The name of the object."
},
{
"pattern": "^\\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\}$",
"type": "string",
"description": "An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}."
},
{
"minimum": 0,
"type": "integer",
"description": "The Short ID of a Wwise Object.\\n Unsigned Integer 32-bit.",
"maximum": 4294967295
}
],
"description": "Either the ID (GUID), name, or short ID of the Event."
}
}
}

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅