Slippers Engine
 
Loading...
Searching...
No Matches
ReverbSpace Class Reference

Responsible for Reverb Space functions. Go to Scene for Creation and Destruction. More...

#include <ReverbSpace.h>

Public Member Functions

void SetScale (float s)
 Sets scale of Reverb Space. If generated with dynamic reverb, then recalculates.
 
void SetPos (float x, float y, float z)
 Sets position of Reverb Space.
 
void SetPos (Vect p)
 Sets position of Reverb Space.
 
void Visualize ()
 Shows Reverb Space in a light blue color.
 

Private Member Functions

void SetReverb (const ALuint &reverb)
 Creates a Reverb Space with a Reverb from ReverbManager. Go to Scene for Creation and Destruction.
 
void SetReverb (const float &wMat, const float &fMat, const float &cMat)
 Creates a Reverb Space with a Reverb from ReverbManager. Go to Scene for Creation and Destruction.
 

Detailed Description

Responsible for Reverb Space functions. Go to Scene for Creation and Destruction.

Sounds will have their reverb applied when within a reverb space. Sounds will use the reverb from the first reverb space registered. Reverb will be wettest in the center of a reverb space and will become dryer the further from center you are using a Cubic Falloff.

Member Function Documentation

◆ SetPos() [1/2]

void ReverbSpace::SetPos ( float x,
float y,
float z )

Sets position of Reverb Space.

Parameters
x
y
z

◆ SetPos() [2/2]

void ReverbSpace::SetPos ( Vect p)

Sets position of Reverb Space.

Parameters
pos

◆ SetReverb() [1/2]

void ReverbSpace::SetReverb ( const ALuint & reverb)
private

Creates a Reverb Space with a Reverb from ReverbManager. Go to Scene for Creation and Destruction.

This reverb will always be consistent with how it was created.

Parameters
reverb

◆ SetReverb() [2/2]

void ReverbSpace::SetReverb ( const float & wMat,
const float & fMat,
const float & cMat )
private

Creates a Reverb Space with a Reverb from ReverbManager. Go to Scene for Creation and Destruction.

This reverb will dynamically change with the scaling of an object. The larger the room, the stronger the reverb.

Parameters
wMat
fMat
cMat

◆ SetScale()

void ReverbSpace::SetScale ( float s)

Sets scale of Reverb Space. If generated with dynamic reverb, then recalculates.

Parameters
s

◆ Visualize()

void ReverbSpace::Visualize ( )

Shows Reverb Space in a light blue color.