Version

menu_open
Wwise SDK 2021.1.14

◆ GetObjectObstructionAndOcclusion()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::Query::GetObjectObstructionAndOcclusion ( AkGameObjectID  in_EmitterID,
AkGameObjectID  in_ListenerID,
AkReal32 out_rfObstructionLevel,
AkReal32 out_rfOcclusionLevel 
)

Get a game object's obstruction and occlusion levels.

See also
Returns
AK_Success if succeeded, AK_IDNotFound if the game object was not registered
Parameters
in_EmitterID Associated game object ID
in_ListenerID Listener object ID
out_rfObstructionLevel ObstructionLevel: [0.0f..1.0f]
out_rfOcclusionLevel OcclusionLevel: [0.0f..1.0f]

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