Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8
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