Table des matières

Wwise SDK 2018.1.11

◆ GetObjectObstructionAndOcclusion()

AKRESULT __cdecl 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
AK_Success if succeeded, AK_IDNotFound if the game object was not registered
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]