menu
 
Version
2024.1.5.8803

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

Wwise SDK 2024.1.5
ak.soundengine.setMultiplePositions

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.

Arguments

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 *)

Arguments Schema

See Also

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise