Search
Preparing search index...
The search index is not available
sfml.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sfml.js
Sound
Class Sound
Hierarchy
SoundSource
Sound
Index
Constructors
constructor
Methods
get
Attenuation
get
Buffer
get
Loop
get
Min
Distance
get
Pitch
get
Relative
ToListener
get
Status
get
Volume
is
Relative
ToListener
pause
play
set
Attenuation
set
Buffer
set
Loop
set
Min
Distance
set
Pitch
set
Relative
ToListener
set
Volume
stop
Constructors
constructor
new
Sound
(
buffer
?:
Buffer
|
SoundBuffer
)
:
Sound
Parameters
Optional
buffer:
Buffer
|
SoundBuffer
Returns
Sound
Methods
get
Attenuation
get
Attenuation
(
)
:
number
Returns
number
get
Buffer
get
Buffer
(
)
:
SoundBuffer
Returns
SoundBuffer
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
pause
pause
(
)
:
void
Returns
void
play
play
(
)
:
void
Returns
void
set
Attenuation
set
Attenuation
(
attenuation
:
number
)
:
void
Parameters
attenuation:
number
Returns
void
set
Buffer
set
Buffer
(
buffer
:
Buffer
|
SoundBuffer
)
:
void
Parameters
buffer:
Buffer
|
SoundBuffer
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
Sound
constructor
get
Attenuation
get
Buffer
get
Loop
get
Min
Distance
get
Pitch
get
Relative
ToListener
get
Status
get
Volume
is
Relative
ToListener
pause
play
set
Attenuation
set
Buffer
set
Loop
set
Min
Distance
set
Pitch
set
Relative
ToListener
set
Volume
stop
Generated using
TypeDoc