Resonance Audio Wwise Plugin Reference
WwiseResonanceAudioRoom
Resonance Audio room component that simulates environmental effects of a room with respect to the properties of the attached game object.
Summary
Inheritance
Inherits from: MonoBehaviour, ISerializationCallbackReceiver
Public types |
|
---|---|
SurfaceMaterial{
|
enum Material type that determines the acoustic properties of a room surface. |
Public attributes |
|
---|---|
backWall = SurfaceMaterial.ConcreteBlockCoarse
|
Room surface material in negative z direction.
|
ceiling = SurfaceMaterial.PlasterRough
|
Room surface material in positive y direction.
|
floor = SurfaceMaterial.ParquetOnConcrete
|
Room surface material in negative y direction.
|
frontWall = SurfaceMaterial.ConcreteBlockCoarse
|
Room surface material in positive z direction.
|
leftWall = SurfaceMaterial.ConcreteBlockCoarse
|
Room surface material in negative x direction.
|
reflectivity = 1.0f
|
float
Reflectivity scalar for each surface of the room.
|
reverbBrightness = 0.0f
|
float
Reverb brightness modifier.
|
reverbGainDb = 0.0f
|
float
Reverb gain modifier in decibels.
|
reverbTime = 1.0f
|
float
Reverb time modifier.
|
rightWall = SurfaceMaterial.ConcreteBlockCoarse
|
Room surface material in positive x direction.
|
size = Vector3.one
|
Vector3
Size of the room (normalized with respect to scale of the game object).
|
Public functions |
|
---|---|
OnAfterDeserialize()
|
void
|
OnBeforeSerialize()
|
void
|
Public types
SurfaceMaterial
SurfaceMaterial
Material type that determines the acoustic properties of a room surface.
Public attributes
backWall
SurfaceMaterial backWall = SurfaceMaterial.ConcreteBlockCoarse
Room surface material in negative z direction.
ceiling
SurfaceMaterial ceiling = SurfaceMaterial.PlasterRough
Room surface material in positive y direction.
floor
SurfaceMaterial floor = SurfaceMaterial.ParquetOnConcrete
Room surface material in negative y direction.
frontWall
SurfaceMaterial frontWall = SurfaceMaterial.ConcreteBlockCoarse
Room surface material in positive z direction.
leftWall
SurfaceMaterial leftWall = SurfaceMaterial.ConcreteBlockCoarse
Room surface material in negative x direction.
reflectivity
float reflectivity = 1.0f
Reflectivity scalar for each surface of the room.
reverbBrightness
float reverbBrightness = 0.0f
Reverb brightness modifier.
reverbGainDb
float reverbGainDb = 0.0f
Reverb gain modifier in decibels.
reverbTime
float reverbTime = 1.0f
Reverb time modifier.
rightWall
SurfaceMaterial rightWall = SurfaceMaterial.ConcreteBlockCoarse
Room surface material in positive x direction.
size
Vector3 size = Vector3.one
Size of the room (normalized with respect to scale of the game object).
Public functions
OnAfterDeserialize
void OnAfterDeserialize()
OnBeforeSerialize
void OnBeforeSerialize()