arrow_right Table des matières

Autre Documentation

Wwise SDK 2018.1.11

◆ SetObjectObstructionAndOcclusion()

AKRESULT __cdecl AK::SoundEngine::SetObjectObstructionAndOcclusion ( AkGameObjectID  in_EmitterID,
AkGameObjectID  in_ListenerID,
AkReal32  in_fObstructionLevel,
AkReal32  in_fOcclusionLevel 

Sets a game object's obstruction and occlusion levels. If SetMultiplePositions were used, values are set for all positions. This function is used to affect how an object should be heard by a specific listener.

See also
Always returns AK_Success
in_EmitterID Emitter game object ID
in_ListenerID Listener game object ID
in_fObstructionLevel ObstructionLevel: [0.0f..1.0f]
in_fOcclusionLevel OcclusionLevel: [0.0f..1.0f]