架构
{
"type": "object",
"properties": {
"gameObject": {
"type": "integer",
"description": "游戏对象标识符。\\n 游戏对象 ID,64 位无符号整数。",
"minimum": 0,
"maximum": 18446744073709551615
},
"positions": {
"type": "array",
"maxItems": 65535,
"items": {
"type": "object",
"properties": {
"position": {
"type": "object",
"description": "要为游戏对象设置的 3D 位置。",
"properties": {
"orientationFront": {
"type": "object",
"description": "听者的朝向。",
"properties": {
"x": {
"type": "number",
"description": "X 位置。"
},
"y": {
"type": "number",
"description": "Y 位置。"
},
"z": {
"type": "number",
"description": "Z 位置。"
}
},
"required": [
"x",
"y",
"z"
],
"additionalProperties": false
},
"orientationTop": {
"type": "object",
"description": "听者的顶部朝向。",
"properties": {
"x": {
"type": "number",
"description": "X 位置。"
},
"y": {
"type": "number",
"description": "Y 位置。"
},
"z": {
"type": "number",
"description": "Z 位置。"
}
},
"required": [
"x",
"y",
"z"
],
"additionalProperties": false
},
"position": {
"type": "object",
"description": "听者的位置。",
"properties": {
"x": {
"type": "number",
"description": "X 位置。"
},
"y": {
"type": "number",
"description": "Y 位置。"
},
"z": {
"type": "number",
"description": "Z 位置。"
}
},
"required": [
"x",
"y",
"z"
],
"additionalProperties": false
}
},
"required": [
"orientationFront",
"orientationTop",
"position"
],
"additionalProperties": false
}
},
"description": "Position",
"required": [
"position"
],
"additionalProperties": false
},
"description": "此数组中包含所要应用的位置。"
},
"multiPositionType": {
"type": "integer",
"minimum": 0,
"maximum": 2,
"description": "使用来自 <tt>AK::SoundEngine::MultiPositionType<\/tt> 的值。"
}
},
"required": [
"gameObject",
"positions",
"multiPositionType"
],
"additionalProperties": false
}