Version

menu_open
Wwise SDK 2019.1.11
ak.soundengine.setPosition Arguments Schema

Schema

{
"additionalProperties": false,
"required": [
"gameObject",
"position"
],
"type": "object",
"properties": {
"gameObject": {
"minimum": 0,
"type": "integer",
"description": "Game Object identifier.\\n A game object ID, unsigned integer 64-bit.",
"maximum": 18446744073709551615
},
"position": {
"additionalProperties": false,
"required": [
"orientationFront",
"orientationTop",
"position"
],
"type": "object",
"description": "The 3D position to set for the game object.",
"properties": {
"orientationTop": {
"additionalProperties": false,
"required": [
"x",
"y",
"z"
],
"type": "object",
"description": "Top orientation of the listener.",
"properties": {
"y": {
"type": "number",
"description": "Y Position."
},
"x": {
"type": "number",
"description": "X Position."
},
"z": {
"type": "number",
"description": "Z Position."
}
}
},
"position": {
"additionalProperties": false,
"required": [
"x",
"y",
"z"
],
"type": "object",
"description": "Position of the listener",
"properties": {
"y": {
"type": "number",
"description": "Y Position."
},
"x": {
"type": "number",
"description": "X Position."
},
"z": {
"type": "number",
"description": "Z Position."
}
}
},
"orientationFront": {
"additionalProperties": false,
"required": [
"x",
"y",
"z"
],
"type": "object",
"description": "Orientation of the listener.",
"properties": {
"y": {
"type": "number",
"description": "Y Position."
},
"x": {
"type": "number",
"description": "X Position."
},
"z": {
"type": "number",
"description": "Z Position."
}
}
}
}
}
}
}

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise