|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Panning parameters for a listener-relative sound. More...
#include <GREM/audio/SoundStage.hpp>
Static Public Member Functions | |
| static Panning | fromNormalizedCenterOffset (float normalizedOffset) |
| Calculate left/right panning based on an offset from the center. | |
Public Attributes | |
| float | leftVolume = 1.0f |
| Left volume. | |
| float | rightVolume = 1.0f |
| Right volume. | |
Panning parameters for a listener-relative sound.
|
inlinestaticnodiscard |
Calculate left/right panning based on an offset from the center.
| normalizedOffset | normalized relative offset from the center of the listener. |
| float grem::audio::Panning::leftVolume = 1.0f |
Left volume.
| float grem::audio::Panning::rightVolume = 1.0f |
Right volume.