Wwise SDK 2021.1.14
|
Sets multiple positions for a single game object. Setting multiple positions for a single game object is a way to simulate multiple emission sources while using the resources of only one voice. This can be used to simulate wall openings, area sounds, or multiple objects emitting the same sound in the same area. See AK::SoundEngine::SetMultiplePositions
.
Name | Type | Description |
---|---|---|
gameObject * | integer | Game Object identifier. A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615] |
positions * | array | Array of positions to apply. |
positions [...] | object | Position |
positions[...].position * | object | A 3D position to set for the game object. |
positions[...].position.orientationFront * | object | Orientation of the listener. |
positions[...].position.orientationFront.x * | number | X Position. |
positions[...].position.orientationFront.y * | number | Y Position. |
positions[...].position.orientationFront.z * | number | Z Position. |
positions[...].position.orientationTop * | object | Top orientation of the listener. |
positions[...].position.orientationTop.x * | number | X Position. |
positions[...].position.orientationTop.y * | number | Y Position. |
positions[...].position.orientationTop.z * | number | Z Position. |
positions[...].position.position * | object | Position of the listener |
positions[...].position.position.x * | number | X Position. |
positions[...].position.position.y * | number | Y Position. |
positions[...].position.position.z * | number | Z Position. |
multiPositionType * | integer | Uses values from AK::SoundEngine::MultiPositionType . Range: [0,2] |
(Required *)
Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise