Version

menu_open
Wwise SDK 2022.1.12

◆ 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_EmitterIDAssociated game object ID
in_ListenerIDListener object ID
out_rfObstructionLevelObstructionLevel: [0.0f..1.0f]
out_rfOcclusionLevelOcclusionLevel: [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