|
raylib_impl 0.1.0
Vendor raylib 5.5 : IGraphic2Module / IGraphic3Module / IAudioModule
|
Raylib Sound class - a LoadSoundAlias() of a RaySoundBuffer, does not own the buffer. Deleting the sound never touches the buffer. More...
#include <RaySound.hpp>


Public Member Functions | |
| RaySound (RaySoundBuffer &buffer) | |
| ~RaySound () override | |
| bool | isReady () const override |
| void | play () override |
| void | pause () override |
| void | stop () override |
| void | setVolume (float volume) override |
| float | getVolume () const override |
| void | setPosition (Vector3f position) override |
| Vector3f | getPosition () const override |
| void | setVelocity (Vector3f velocity) override |
| Vector3f | getVelocity () const override |
Raylib Sound class - a LoadSoundAlias() of a RaySoundBuffer, does not own the buffer. Deleting the sound never touches the buffer.
play() restarts the sound, where raylib would overlap playbacks by default. This is the only deliberate divergence from IMusic::play() : an ISound is a one-shot, not a transport.
|
inline |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |