menu
 
Version
2024.1.6.8842

2024.1.6.8842

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

Wwise Unity Integration Documentation
AkRoomPortalObstruction Class Reference

Completely obstructs 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.

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


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise