WasmGPU - v0.6.0
Preparing search index...
AnimationPlayer
Class AnimationPlayer
Index
Constructors
constructor
Properties
clip
loop
playing
speed
time
Methods
update
Constructors
constructor
new
AnimationPlayer
(
clip
:
AnimationClip
,
opts
?:
Partial
<
Pick
<
AnimationPlayer
,
"speed"
|
"loop"
|
"playing"
>
>
,
)
:
AnimationPlayer
Parameters
clip
:
AnimationClip
opts
:
Partial
<
Pick
<
AnimationPlayer
,
"speed"
|
"loop"
|
"playing"
>
>
= {}
Returns
AnimationPlayer
Properties
Readonly
clip
clip
:
AnimationClip
loop
loop
:
boolean
= true
playing
playing
:
boolean
= true
speed
speed
:
number
= 1
time
time
:
number
= 0
Methods
update
update
(
dtSeconds
:
number
)
:
void
Parameters
dtSeconds
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
clip
loop
playing
speed
time
Methods
update
Source code
Examples
WasmGPU - v0.6.0
Loading...