Resonance Audio FMOD Plugin Reference
FmodResonanceAudio
This is the main Resonance Audio class that communicates with the FMOD Unity integration.
Summary
Native functions of the system can only be called through this class to preserve the internal system functionality.
Public attributes |
|
---|---|
maxGainDb = 24.0f
|
const float
Maximum allowed gain value in decibels.
|
maxReflectivity = 2.0f
|
const float
Maximum allowed reflectivity multiplier of a room surface material.
|
maxReverbBrightness = 1.0f
|
const float
Maximum allowed reverb brightness modifier value.
|
maxReverbTime = 3.0f
|
const float
Maximum allowed reverb time modifier value.
|
minGainDb = -24.0f
|
const float
Minimum allowed gain value in decibels.
|
minReverbBrightness = -1.0f
|
const float
Minimum allowed reverb brightness modifier value.
|
Public static functions |
|
---|---|
IsListenerInsideRoom(FmodResonanceAudioRoom room)
|
bool
Returns whether the listener is currently inside the given |room| boundaries.
|
UpdateAudioRoom(FmodResonanceAudioRoom room, bool roomEnabled)
|
void
Updates the room effects of the environment with given |room| properties.
|
Public attributes
maxGainDb
const float maxGainDb = 24.0f
Maximum allowed gain value in decibels.
maxReflectivity
const float maxReflectivity = 2.0f
Maximum allowed reflectivity multiplier of a room surface material.
maxReverbBrightness
const float maxReverbBrightness = 1.0f
Maximum allowed reverb brightness modifier value.
maxReverbTime
const float maxReverbTime = 3.0f
Maximum allowed reverb time modifier value.
minGainDb
const float minGainDb = -24.0f
Minimum allowed gain value in decibels.
minReverbBrightness
const float minReverbBrightness = -1.0f
Minimum allowed reverb brightness modifier value.
Public static functions
IsListenerInsideRoom
bool IsListenerInsideRoom( FmodResonanceAudioRoom room )
Returns whether the listener is currently inside the given |room| boundaries.
UpdateAudioRoom
void UpdateAudioRoom( FmodResonanceAudioRoom room, bool roomEnabled )
Updates the room effects of the environment with given |room| properties.
Note:This should only be called from the main Unity thread.