Version

menu_open
Wwise SDK 2024.1.0
ak.soundengine.setObjectObstructionAndOcclusion

Set a game object's obstruction and occlusion levels. This function is used to affect how an object should be heard by a specific listener. See AK::SoundEngine::SetObjectObstructionAndOcclusion.

Arguments

Name Type Description
emitter * integer Emitter game object ID.
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
listener * integer Listener game object ID
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
obstructionLevel * number ObstructionLevel: [0.0f..1.0f].
occlusionLevel * number OcclusionLevel: [0.0f..1.0f].

(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