Resonance Audio Unity SDK API Reference

ResonanceAudioRoomManager Class Reference

ResonanceAudioRoomManager

A class that manages the room effects to be applied to spatial audio sources in the scene.

Summary

Public types

SurfaceMaterial{
  Transparent = 0,
  AcousticCeilingTiles = 1,
  BrickBare = 2,
  BrickPainted = 3,
  ConcreteBlockCoarse = 4,
  ConcreteBlockPainted = 5,
  CurtainHeavy = 6,
  FiberglassInsulation = 7,
  GlassThin = 8,
  GlassThick = 9,
  Grass = 10,
  LinoleumOnConcrete = 11,
  Marble = 12,
  Metal = 13,
  ParquetOnConcrete = 14,
  PlasterRough = 15,
  PlasterSmooth = 16,
  PlywoodPanel = 17,
  PolishedConcreteOrTile = 18,
  Sheetrock = 19,
  WaterOrIceSurface = 20,
  WoodCeiling = 21,
  WoodPanel = 22
}
enum
Material type that determines the acoustic properties of a room surface.

Public static functions

RemoveReverbProbe(ResonanceAudioReverbProbe reverbProbe)
void
Removes a Resonance Audio reverb probe.
RemoveRoom(ResonanceAudioRoom room)
void
Removes a Resonance Audio room.
UpdateReverbProbe(ResonanceAudioReverbProbe reverbProbe)
void
Adds or removes a Resonance Audio reverb probe depending on whether the listener is inside |reverbProbe|.
UpdateRoom(ResonanceAudioRoom room)
void
Adds or removes a Resonance Audio room depending on whether the listener is inside |room|.

Classes

ResonanceAudioRoomManager.SurfaceMaterialDictionary

A serializable dictionary class that maps surface materials from GUIDs.

Public types

SurfaceMaterial

 SurfaceMaterial

Material type that determines the acoustic properties of a room surface.

Properties
AcousticCeilingTiles

Acoustic ceiling tiles.

BrickBare

Brick, bare.

BrickPainted

Brick, painted.

ConcreteBlockCoarse

Concrete block, coarse.

ConcreteBlockPainted

Concrete block, painted.

CurtainHeavy

Curtain, heavy.

FiberglassInsulation

Fiberglass insulation.

GlassThick

Glass, thick.

GlassThin

Glass, thin.

Grass

Grass.

LinoleumOnConcrete

Linoleum on concrete.

Marble

Marble.

Metal

Galvanized sheet metal.

ParquetOnConcrete

Parquet on concrete.

PlasterRough

Plaster, rough.

PlasterSmooth

Plaster, smooth.

PlywoodPanel

Plywood panel.

PolishedConcreteOrTile

Polished concrete or tile.

Sheetrock

Sheetrock.

Transparent

Transparent.

WaterOrIceSurface

Water or ice surface.

WoodCeiling

Wood ceiling.

WoodPanel

Wood panel.

Public static functions

RemoveReverbProbe

void RemoveReverbProbe(
  ResonanceAudioReverbProbe reverbProbe
)

Removes a Resonance Audio reverb probe.

RemoveRoom

void RemoveRoom(
  ResonanceAudioRoom room
)

Removes a Resonance Audio room.

UpdateReverbProbe

void UpdateReverbProbe(
  ResonanceAudioReverbProbe reverbProbe
)

Adds or removes a Resonance Audio reverb probe depending on whether the listener is inside |reverbProbe|.

UpdateRoom

void UpdateRoom(
  ResonanceAudioRoom room
)

Adds or removes a Resonance Audio room depending on whether the listener is inside |room|.