![]() |
Gorgon Game Engine
|
The environment which the audio system works on. More...
Public Member Functions | |
| Environment () | |
| Listener & | GetListener () |
| Returns the current listener object. More... | |
| void | SetAttuniationFactor (float value) |
| Changes the attunation factor, higher values will attunate sound more, causing a faster fall off. More... | |
| void | SetAuricleAngle (float value) |
| Changes the difference of hearing direction cause by the auricles. More... | |
| void | SetHeadRadius (float value) |
| Changes the radius of the head of listener. More... | |
| void | SetNonBlocked (float value) |
| Changes the percent of sound not blocked by the head. This calculation might change in time. More... | |
| void | SetSpeakerLocation (int index, Geometry::Point3D value) |
| Sets the real world location of the speakers. More... | |
Static Public Attributes | |
| static Environment | Current |
| Currently active environment. More... | |
The environment which the audio system works on.
Default unit is meters. Current design of enviroment would change. The final design should have replacable environment tied to playback buffers.
| Environment | ( | ) |
References Gorgon::WindowManager::init().
| Listener& GetListener | ( | ) |
Returns the current listener object.
| void SetAttuniationFactor | ( | float | value | ) |
Changes the attunation factor, higher values will attunate sound more, causing a faster fall off.
| void SetAuricleAngle | ( | float | value | ) |
Changes the difference of hearing direction cause by the auricles.
| void SetHeadRadius | ( | float | value | ) |
Changes the radius of the head of listener.
| void SetNonBlocked | ( | float | value | ) |
Changes the percent of sound not blocked by the head. This calculation might change in time.
| void SetSpeakerLocation | ( | int | index, |
| Geometry::Point3D | value | ||
| ) |
Sets the real world location of the speakers.
References Gorgon::WindowManager::init().
|
static |
Currently active environment.