Version

menu_open
AKRESULT __cdecl AK::SoundEngine::Query::GetObjectObstructionAndOcclusion ( AkGameObjectID  in_ObjectID,
AkUInt32  in_uListener,
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_ObjectID  Associated game object ID
in_uListener  Listener index (0: first listener, 7: 8th listener)
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