目录

Wwise Unity Integration Documentation
AkRoomPortalObstruction类 参考

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

继承自 AkObstructionOcclusion .

Public 属性

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. 更多...
 

详细描述

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.