Resonance Audio Unity SDK API Reference

ResonanceAudioRoom Class Reference

ResonanceAudioRoom

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

Public attributes

backWall = ResonanceAudioRoomManager.SurfaceMaterial.ConcreteBlockCoarse
Room surface material in negative z direction.
ceiling = ResonanceAudioRoomManager.SurfaceMaterial.PlasterRough
Room surface material in positive y direction.
floor = ResonanceAudioRoomManager.SurfaceMaterial.ParquetOnConcrete
Room surface material in negative y direction.
frontWall = ResonanceAudioRoomManager.SurfaceMaterial.ConcreteBlockCoarse
Room surface material in positive z direction.
leftWall = ResonanceAudioRoomManager.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 = ResonanceAudioRoomManager.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 attributes

backWall

ResonanceAudioRoomManager.SurfaceMaterial backWall =
      ResonanceAudioRoomManager.SurfaceMaterial.ConcreteBlockCoarse

Room surface material in negative z direction.

ceiling

ResonanceAudioRoomManager.SurfaceMaterial ceiling =
      ResonanceAudioRoomManager.SurfaceMaterial.PlasterRough

Room surface material in positive y direction.

floor

ResonanceAudioRoomManager.SurfaceMaterial floor =
      ResonanceAudioRoomManager.SurfaceMaterial.ParquetOnConcrete

Room surface material in negative y direction.

frontWall

ResonanceAudioRoomManager.SurfaceMaterial frontWall =
      ResonanceAudioRoomManager.SurfaceMaterial.ConcreteBlockCoarse

Room surface material in positive z direction.

leftWall

ResonanceAudioRoomManager.SurfaceMaterial leftWall =
      ResonanceAudioRoomManager.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

ResonanceAudioRoomManager.SurfaceMaterial rightWall =
      ResonanceAudioRoomManager.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).