Preparing search index...
The search index is not available
elixr
elixr
AudioSource
Class AudioSource<TEventMap>
Type Parameters
TEventMap
extends
Object3DEventMap
=
Object3DEventMap
Hierarchy
Object3D
<
TEventMap
>
AudioSource
Index
Constructors
constructor
Accessors
loop
rate
volume
Methods
destroy
pause
play
resume
stop
update
Matrix
World
update
Position
Constructors
constructor
new
Audio
Source
<
TEventMap
>
(
howl
:
Howl
, options
?:
AudioOptions
)
:
AudioSource
<
TEventMap
>
Type Parameters
TEventMap
extends
Object3DEventMap
=
Object3DEventMap
Parameters
howl:
Howl
options:
AudioOptions
= ...
Returns
AudioSource
<
TEventMap
>
Accessors
loop
get
loop
(
)
:
boolean
Returns
boolean
set
loop
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
rate
get
rate
(
)
:
number
Returns
number
set
rate
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
volume
get
volume
(
)
:
number
Returns
number
set
volume
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
Methods
destroy
destroy
(
)
:
void
Returns
void
pause
pause
(
)
:
void
Returns
void
play
play
(
stopCurrent
?:
boolean
)
:
void
Parameters
stopCurrent:
boolean
= false
Returns
void
resume
resume
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
update
Matrix
World
update
Matrix
World
(
force
?:
boolean
)
:
void
Parameters
Optional
force:
boolean
Returns
void
update
Position
update
Position
(
playerHead
:
Object3D
<
Object3DEventMap
>
)
:
void
Parameters
playerHead:
Object3D
<
Object3DEventMap
>
Returns
void
GitHub
NPM
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Modules
elixr
Audio
Source
constructor
loop
rate
volume
destroy
pause
play
resume
stop
update
Matrix
World
update
Position