Search
Preparing search index...
The search index is not available
sfml.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sfml.js
Music
Class Music
Hierarchy
SoundSource
Music
Index
Constructors
constructor
Methods
get
Attenuation
get
Loop
get
Min
Distance
get
Pitch
get
Relative
ToListener
get
Status
get
Volume
is
Relative
ToListener
open
From
File
open
From
File
Sync
open
From
Memory
pause
play
set
Attenuation
set
Loop
set
Min
Distance
set
Pitch
set
Relative
ToListener
set
Volume
stop
Constructors
constructor
new
Music
(
)
:
Music
Returns
Music
Methods
get
Attenuation
get
Attenuation
(
)
:
number
Returns
number
get
Loop
get
Loop
(
)
:
boolean
Returns
boolean
get
Min
Distance
get
Min
Distance
(
)
:
number
Returns
number
get
Pitch
get
Pitch
(
)
:
number
Returns
number
get
Relative
ToListener
get
Relative
ToListener
(
)
:
boolean
Returns
boolean
get
Status
get
Status
(
)
:
Status
Returns
Status
get
Volume
get
Volume
(
)
:
number
Returns
number
is
Relative
ToListener
is
Relative
ToListener
(
)
:
boolean
Returns
boolean
open
From
File
open
From
File
(
filename
:
string
)
:
Promise
<
void
>
Parameters
filename:
string
Returns
Promise
<
void
>
open
From
File
Sync
open
From
File
Sync
(
filename
:
string
)
:
boolean
Parameters
filename:
string
Returns
boolean
open
From
Memory
open
From
Memory
(
buff
:
Buffer
)
:
boolean
Parameters
buff:
Buffer
Returns
boolean
pause
pause
(
)
:
void
Returns
void
play
play
(
)
:
void
Returns
void
set
Attenuation
set
Attenuation
(
attenuation
:
number
)
:
void
Parameters
attenuation:
number
Returns
void
set
Loop
set
Loop
(
loop
:
boolean
)
:
void
Parameters
loop:
boolean
Returns
void
set
Min
Distance
set
Min
Distance
(
distance
:
number
)
:
void
Parameters
distance:
number
Returns
void
set
Pitch
set
Pitch
(
pitch
:
number
)
:
void
Parameters
pitch:
number
Returns
void
set
Relative
ToListener
set
Relative
ToListener
(
relative
:
boolean
)
:
void
Parameters
relative:
boolean
Returns
void
set
Volume
set
Volume
(
volume
:
number
)
:
void
Parameters
volume:
number
Returns
void
stop
stop
(
)
:
void
Returns
void
Exports
Music
constructor
get
Attenuation
get
Loop
get
Min
Distance
get
Pitch
get
Relative
ToListener
get
Status
get
Volume
is
Relative
ToListener
open
From
File
open
From
File
Sync
open
From
Memory
pause
play
set
Attenuation
set
Loop
set
Min
Distance
set
Pitch
set
Relative
ToListener
set
Volume
stop
Generated using
TypeDoc