How loud the playing sound should be played. Ranges from 0 to 1 (inclusive).
How loud the playing sound should be played. Ranges from 0 to 1 (inclusive).
Whether the playing sound should loop when it finishes.
Whether the playing sound should loop when it finishes.
A pitch multiplier for the playing sound. 1.0 means normal pitch. Less than 1.0 is slower. Greater than 1.0 is faster. Valid values are in the range (0,8]. Zero is invalid (it would stop playback).
A pitch multiplier for the playing sound. 1.0 means normal pitch. Less than 1.0 is slower. Greater than 1.0 is faster. Valid values are in the range (0,8]. Zero is invalid (it would stop playback).
true
when the sound is playing.
If a playing sound hasn't already finished, this function will stop it according to policy
.
If SoundStopPolicy.Immediate
, will halt at the end of the current frame. If SoundStopPolicy.FinishLoop
, the sound will finish playing the current (or only) loop. Default value: SoundStopPolicy.Immediate
true
when the sound is no longer playing.