GvrAudioListener

GVR audio listener component that enhances AudioListener to provide advanced spatial audio features.

Summary

There should be only one instance of this which is attached to the AudioListener's game object.

Inheritance

Inherits from: MonoBehaviour

Public attributes

globalGainDb = 0.0f
float
Global gain in decibels to be applied to the processed output.
occlusionMask = -1
LayerMask
Global layer mask to be used in occlusion detection.

Public attributes

globalGainDb

float globalGainDb = 0.0f

Global gain in decibels to be applied to the processed output.

occlusionMask

LayerMask occlusionMask = -1

Global layer mask to be used in occlusion detection.