架构
{
"type": "object",
"properties": {
"gameObject": {
"type": "integer",
"description": "游戏对象标识符。\\n 游戏对象 ID,64 位无符号整数。",
"minimum": 0,
"maximum": 18446744073709551615
},
"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
}
},
"required": [
"gameObject",
"position"
],
"additionalProperties": false
}