provaengine ~master (2022-05-08T15:19:44.1677855)
Dub
Repo
AudioSource
prova
attachables
audio
audiosource
class
AudioSource {
this
(AudioClip audioClip);
Entity
entity
[@property getter];
Entity
entity
[@property setter];
uint
channels
[@property getter];
float
volume
[@property getter];
float
volume
[@property setter];
float
pitch
[@property getter];
float
pitch
[@property setter];
bool
isPlaying
[@property getter];
bool
looping
[@property getter];
void
play
(bool loop);
void
stop
();
void
pause
();
void
resume
();
~this
();
}
Constructors
this
this
(AudioClip audioClip)
Limited to Ogg files for now
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
pause
void
pause
()
play
void
play
(bool loop)
resume
void
resume
()
stop
void
stop
()
update
void
update
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
channels
uint
channels
[@property getter]
entity
Entity
entity
[@property getter]
entity
Entity
entity
[@property setter]
isPlaying
bool
isPlaying
[@property getter]
looping
bool
looping
[@property getter]
pitch
float
pitch
[@property getter]
pitch
float
pitch
[@property setter]
volume
float
volume
[@property getter]
volume
float
volume
[@property setter]
Meta
Source
See Implementation
prova
attachables
audio
audiosource
classes
AudioSource