Version

    Other Documentation

menu_open
virtual bool AK::SoundFrame::ISoundFrame::SetObjectObstructionAndOcclusion ( AkGameObjectID  in_ObjectID,
AkUInt32  in_uListener,
AkReal32  in_fObstructionLevel,
AkReal32  in_fOcclusionLevel  
) [pure virtual]

Set a game object's obstruction and occlusion levels.
This method is used to affect how an object should be heard by a specific listener.

This function is thread-safe.

Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_ObjectID  Associated game object ID
in_uListener  Listener index (0: first listener, 7: 8th listener)
in_fObstructionLevel  ObstructionLevel: [0.0f..1.0f]
in_fOcclusionLevel  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