Music (gb.sdl2.audio)
This static class allows you to manage the music track.
Этот класс статический.
Константы
Paused
|
Constant for the State property indicating that the music is paused.
|
Playing
|
Constant for the State property indicating that the music is playing.
|
Stopped
|
Constant for the State property indicating that the music is stopped.
|
Статические свойства
Pos
|
Sets or returns the current time position of the music track.
|
SoundFontPath
|
Return or set the SoundFont path used by the library to play MIDI files.
|
State
|
Return the state of the music.
|
Volume
|
Returns or sets the volume of the music track.
|
Статические методы
Load
|
Specifies the file used for playing the music track.
|
Pause
|
Pauses the music.
|
Play
|
Start playing the music with an optional fade-in.
|
Stop
|
Stop the music with an optional fade-out.
|