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. | |
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.
| void ReverbSpace::SetPos | ( | float | x, |
| float | y, | ||
| float | z ) |
Sets position of Reverb Space.
| x | |
| y | |
| z |
| void ReverbSpace::SetPos | ( | Vect | p | ) |
Sets position of Reverb Space.
| pos |
|
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.
| reverb |
|
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.
| wMat | |
| fMat | |
| cMat |
| void ReverbSpace::SetScale | ( | float | s | ) |
Sets scale of Reverb Space. If generated with dynamic reverb, then recalculates.
| s |
| void ReverbSpace::Visualize | ( | ) |
Shows Reverb Space in a light blue color.