|
SFML
Simple and Fast Multimedia Library
|
Structure defining the properties of a directional cone. More...
#include <SoundSource.hpp>
Public Attributes | |
| Angle | innerAngle |
| Inner angle. | |
| Angle | outerAngle |
| Outer angle. | |
| float | outerGain {} |
| Outer gain. | |
Structure defining the properties of a directional cone.
Sounds will play at gain 1 when the listener is positioned within the inner angle of the cone. Sounds will play at outerGain when the listener is positioned outside the outer angle of the cone. The gain declines linearly from 1 to outerGain as the listener moves from the inner angle to the outer angle.
| Angle sf::SoundSource::Cone::innerAngle |
Inner angle.
| Angle sf::SoundSource::Cone::outerAngle |
Outer angle.
| float sf::SoundSource::Cone::outerGain {} |
Outer gain.