Resonance Audio FMOD Plugin Reference

FmodResonanceAudioRoom Class Reference

FmodResonanceAudioRoom

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 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 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 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 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).