Resonance Audio Unity SDK API Reference
ResonanceAudioSource
Resonance Audio source component that enhances AudioSource to provide advanced spatial audio features.
Summary
Inheritance
Inherits from: MonoBehaviour
Public types |
|
---|---|
Quality{
|
enum Audio rendering quality. |
Public attributes |
|
---|---|
bypassRoomEffects = false
|
bool
Denotes whether the room effects should be bypassed.
|
directivityAlpha = 0.0f
|
float
Directivity pattern shaping factor.
|
directivitySharpness = 1.0f
|
float
Directivity pattern order.
|
gainDb = 0.0f
|
float
Input gain in decibels.
|
listenerDirectivityAlpha = 0.0f
|
float
Listener directivity pattern shaping factor.
|
listenerDirectivitySharpness = 1.0f
|
float
Listener directivity pattern order.
|
occlusionEnabled = false
|
bool
Occlusion effect toggle.
|
quality = Quality.High
|
Public types
Quality
Quality
Public attributes
bypassRoomEffects
bool bypassRoomEffects = false
Denotes whether the room effects should be bypassed.
directivityAlpha
float directivityAlpha = 0.0f
Directivity pattern shaping factor.
directivitySharpness
float directivitySharpness = 1.0f
Directivity pattern order.
gainDb
float gainDb = 0.0f
Input gain in decibels.
listenerDirectivityAlpha
float listenerDirectivityAlpha = 0.0f
Listener directivity pattern shaping factor.
listenerDirectivitySharpness
float listenerDirectivitySharpness = 1.0f
Listener directivity pattern order.
occlusionEnabled
bool occlusionEnabled = false
Occlusion effect toggle.
quality
Quality quality = Quality.High