Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.12.8435 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise Unity Integration Documentation
AkEmitterObstructionOcclusion Class Reference

Completely obstructs/occludes the emitter of the current game object from its listeners if at least one object is between them. More...

Inherits AkObstructionOcclusion.

Public Attributes

float fadeTime = 0.5f
 The number of seconds for fade ins and fade outs. More...
 
UnityEngine.LayerMask LayerMask = -1
 Indicates which layers act as obstructers/occluders. More...
 
float maxDistance = -1.0f
 The maximum distance at which to perform obstruction/occlusion. A negative value will be interpreted as inifinite distance. More...
 
float refreshInterval = 1
 The number of seconds between obstruction/occlusion checks. More...
 

Detailed Description

Completely obstructs/occludes the emitter of the current game object from its listeners if at least one object is between them.


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