d2dgame ~master (2017-12-15T21:45:17Z)
Dub
Repo
Sound.getVolume
d2d
audio
sound
Sound
Returns the current volume as float in range 0.0 to 1.0
class
Sound
static
float
getVolume
(
int
channel
= -1
)
Parameters
channel
Type:
int
-1 for all channels.
Meta
Source
See Implementation
d2d
audio
sound
Sound
constructors
this
functions
dispose
fadeIn
play
properties
error
fadingStatus
handle
isPaused
isPlaying
valid
static functions
fromChunk
getVolume
pause
resume
setVolume
stop
Returns the current volume as float in range 0.0 to 1.0