Search
Preparing search index...
The search index is not available
@nativewrappers/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nativewrappers/client
Audio
Class Audio
Hierarchy
Audio
Index
Constructors
constructor
Properties
audio
Flags
cached
Music
File
Methods
has
Sound
Finished
play
Music
play
Sound
play
Sound
At
play
Sound
From
Entity
play
Sound
Front
End
release
Sound
set
Audio
Flag
stop
Music
stop
Sound
Constructors
constructor
new
Audio
(
)
:
Audio
Returns
Audio
Properties
Static
Private
Readonly
audio
Flags
audio
Flags
:
string
[]
= ...
Static
Protected
cached
Music
File
cached
Music
File
:
string
Methods
Static
has
Sound
Finished
has
Sound
Finished
(
soundId
:
number
)
:
boolean
Parameters
soundId:
number
Returns
boolean
Static
play
Music
play
Music
(
musicFile
:
string
)
:
void
Parameters
musicFile:
string
Returns
void
Static
play
Sound
play
Sound
(
soundFile
:
string
, soundSet
:
string
)
:
void
Parameters
soundFile:
string
soundSet:
string
Returns
void
Static
play
Sound
At
play
Sound
At
(
position
:
Vector3
, sound
:
string
, set
?:
string
, generateSoundId
?:
boolean
)
:
number
Parameters
position:
Vector3
sound:
string
Optional
set:
string
generateSoundId:
boolean
= true
Returns
number
Static
play
Sound
From
Entity
play
Sound
From
Entity
(
entity
:
Entity
, sound
:
string
, set
?:
string
, generateSoundId
?:
boolean
)
:
number
Parameters
entity:
Entity
sound:
string
Optional
set:
string
generateSoundId:
boolean
= true
Returns
number
Static
play
Sound
Front
End
play
Sound
Front
End
(
sound
:
string
, set
?:
string
, generateSoundId
?:
boolean
)
:
number
Parameters
sound:
string
Optional
set:
string
generateSoundId:
boolean
= true
Returns
number
Static
release
Sound
release
Sound
(
soundId
:
number
)
:
void
Parameters
soundId:
number
Returns
void
Static
set
Audio
Flag
set
Audio
Flag
(
flag
:
string
|
AudioFlag
, toggle
:
boolean
)
:
void
Parameters
flag:
string
|
AudioFlag
toggle:
boolean
Returns
void
Static
stop
Music
stop
Music
(
musicFile
?:
string
)
:
void
Parameters
Optional
musicFile:
string
Returns
void
Static
stop
Sound
stop
Sound
(
soundId
:
number
)
:
void
Parameters
soundId:
number
Returns
void
Exports
Audio
constructor
audio
Flags
cached
Music
File
has
Sound
Finished
play
Music
play
Sound
play
Sound
At
play
Sound
From
Entity
play
Sound
Front
End
release
Sound
set
Audio
Flag
stop
Music
stop
Sound
Generated using
TypeDoc