Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11
ak.soundengine.setListenerSpatialization

Sets a listener's spatialization parameters. This lets you define listener-specific volume offsets for each audio channel. See AK::SoundEngine::SetListenerSpatialization.

Arguments

Name Type Description
listener * integer Listener game object ID.
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
spatialized * boolean Spatialization toggle (true: enable spatialization, false: disable spatialization).
channelConfig * integer Channel configuration associated with volumeOffsets. Use AK::AkChannelConfig::Serialize to serialize the value.
Unsigned Integer 32-bit. Range: [0,4294967295]
volumeOffsets * array Array of per-speaker volume offsets, in dB. See AkSpeakerVolumes.h for how to manipulate this array.
volumeOffsets [...] number Per-speaker volume offset.

(Required *)

Arguments Schema

See Also

Examples

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


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