架构
{
"type": "object",
"properties": {
"event": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9()]*$",
"description": "对象的名称。"
},
{
"type": "string",
"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}\\}$",
"description": "以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。"
},
{
"type": "integer",
"description": "Wwise 对象的 Short ID。\\n 32 位无符号整数。",
"minimum": 0,
"maximum": 4294967295
}
],
"description": "Event 的 ID (GUID)、名称或 Short ID。"
},
"actionType": {
"type": "integer",
"minimum": 0,
"maximum": 4,
"description": "针对所有使用给定 Event 播放的元素执行该动作。使用来自 <tt>AK::SoundEngine::AkActionOnEventType<\/tt> 的值。"
},
"gameObject": {
"type": "integer",
"description": "关联游戏对象 ID。\\n 游戏对象 ID,64 位无符号整数。",
"minimum": 0,
"maximum": 18446744073709551615
},
"transitionDuration": {
"type": "integer",
"description": "淡变时长 (ms)。\\n 32 位整数。",
"minimum": -2147483648,
"maximum": 2147483647
},
"fadeCurve": {
"type": "integer",
"minimum": 0,
"maximum": 9,
"description": "使用来自 \\ref AkCurveInterpolation 的值。"
}
},
"required": [
"event",
"actionType",
"gameObject",
"transitionDuration",
"fadeCurve"
],
"additionalProperties": false
}