Class providing music playback features. More...
Public Member Functions | |
void | Dispose () |
Frees unmanaged resources of the BgmPlayer. | |
void | Play () |
Plays music. | |
void | Stop () |
Stops music. | |
void | Pause () |
Pauses the music player. | |
void | Resume () |
Cancels the pause of the music player. | |
Properties | |
BgmStatus | Status [get] |
State of the music player. | |
float | Volume [get, set] |
Volume (0.0-1.0) | |
bool | Loop [get, set] |
Loop playback. | |
float | PlaybackRate [get, set] |
Playback speed ratio and pitch (0.25-4.0) | |
double | Time [get, set] |
Playback time (seconds) | |
double | Duration [get] |
Playback duration (seconds) | |
double | LoopStart [get, set] |
Loop start time (seconds) | |
double | LoopEnd [get, set] |
Loop end time (seconds) |
Class providing music playback features.