Version

menu_open

AkRoomPortalObstruction Class Reference

Obstructs/Occludes the spatial audio portal of the current game object from the spatial audio listener if at least one object is between them. More...

Inherits AkObstructionOcclusion.

List of all members.

Public Attributes

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

Detailed Description

Obstructs/Occludes the spatial audio portal of the current game object from the spatial audio listener if at least one object is between them.

If no spatial audio listener has been registered, there will be no obstruction.

Generated on Mon Apr 15 18:03:42 2019 for Wwise Unity Integration by  doxygen 1.6.3

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