|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Represents a 3D sound instance. More...
#include <AudioSource.hpp>
Public Attributes | |
| float | Pitch |
| Pitch of the sound. Range is [0.5, 2.0]. Default is 1.0. | |
| float | Gain |
| Volume of the sound. Range is [0.0, 1.0]. Default is 1.0. | |
| float | MaxGain |
| Max volume of the sound. Range is [0.0, 1.0]. Default is 1.0. | |
| float | MinGain |
| Minimum volume of the sound. Range is [0.0, 1.0]. Default is 0.0. | |
| Vector3 | Position |
| Vector3 | Velocity |
| Vector3 | Direction |
| float | MaxDistance |
| Maximum distance at which the sound can be heard. | |
| float | ReferenceDistance |
| Distance at which the sound is at full volume. Beyond this distance, the sound will start to attenuate. | |
| float | RolloffFactor |
| Describes how quick the sound attenuates as it moves away from the listener. Default is 1.0. | |
| float | ConeOuterGain |
| Gain multiplier applied to the sound when the listener is outside the outer cone angle. Range is [0.0, 1.0]. Default is 0.0. | |
| float | ConeInnerAngle |
| Angle, in degrees, of the inner sound cone within which the sound is heard at full gain. Range is [0, 360]. Default is 360. | |
| float | ConeOuterAngle |
| Angle, in degrees, of the outer sound cone beyond which the sound is attenuated to ConeOuterGain. Range is [0, 360]. Default is 360. | |
| byte | Looping |
| Math::Vector3 | Position = Math::Vector3::Zero() |
| Position in space of the sound source. | |
| Math::Vector3 | Velocity = Math::Vector3::Zero() |
| Velocity if the object emmiting the sound. Used for doppler effect. | |
| Math::Vector3 | Direction = Math::Vector3::Zero() |
| Normalized direction of the sound source. Used for directional sound. | |
| bool | Looping |
| Is the sound looping? | |
Represents a 3D sound instance.
| float Engine3DRadSpace.Audio.AudioSource.ConeInnerAngle |
Angle, in degrees, of the inner sound cone within which the sound is heard at full gain. Range is [0, 360]. Default is 360.
| float Engine3DRadSpace.Audio.AudioSource.ConeOuterAngle |
Angle, in degrees, of the outer sound cone beyond which the sound is attenuated to ConeOuterGain. Range is [0, 360]. Default is 360.
| float Engine3DRadSpace.Audio.AudioSource.ConeOuterGain |
Gain multiplier applied to the sound when the listener is outside the outer cone angle. Range is [0.0, 1.0]. Default is 0.0.
| Vector3 Engine3DRadSpace.Audio.AudioSource.Direction |
Normalized direction of the sound source. Used for directional sound.
| float Engine3DRadSpace.Audio.AudioSource.Gain |
Volume of the sound. Range is [0.0, 1.0]. Default is 1.0.
| byte Engine3DRadSpace.Audio.AudioSource.Looping |
Is the sound looping?
| float Engine3DRadSpace.Audio.AudioSource.MaxDistance |
Maximum distance at which the sound can be heard.
| float Engine3DRadSpace.Audio.AudioSource.MaxGain |
Max volume of the sound. Range is [0.0, 1.0]. Default is 1.0.
| float Engine3DRadSpace.Audio.AudioSource.MinGain |
Minimum volume of the sound. Range is [0.0, 1.0]. Default is 0.0.
| float Engine3DRadSpace.Audio.AudioSource.Pitch |
Pitch of the sound. Range is [0.5, 2.0]. Default is 1.0.
| Vector3 Engine3DRadSpace.Audio.AudioSource.Position |
Position in space of the sound source.
| float Engine3DRadSpace.Audio.AudioSource.ReferenceDistance |
Distance at which the sound is at full volume. Beyond this distance, the sound will start to attenuate.
| float Engine3DRadSpace.Audio.AudioSource.RolloffFactor |
Describes how quick the sound attenuates as it moves away from the listener. Default is 1.0.
| Vector3 Engine3DRadSpace.Audio.AudioSource.Velocity |
Velocity if the object emmiting the sound. Used for doppler effect.