Small World Engine API Reference - v0.78.00
Preparing search index...
AnimationAction
Class AnimationAction
Controls the playback of a specific AnimationClip within an AnimationMixer.
Index
Constructors
constructor
Properties
clip
is
Playing
loop
mixer
time
time
Scale
weight
Methods
pause
play
reset
set
Loop
stop
update
Constructors
constructor
new
AnimationAction
(
mixer
:
AnimationMixer
,
clip
:
AnimationClip
)
:
AnimationAction
Parameters
mixer
:
AnimationMixer
clip
:
AnimationClip
Returns
AnimationAction
Properties
clip
clip
:
AnimationClip
is
Playing
isPlaying
:
boolean
= false
loop
loop
:
boolean
= true
mixer
mixer
:
AnimationMixer
time
time
:
number
= 0
time
Scale
timeScale
:
number
= 1.0
weight
weight
:
number
= 1.0
Methods
pause
pause
()
:
this
Returns
this
play
play
()
:
this
Returns
this
reset
reset
()
:
this
Returns
this
set
Loop
setLoop
(
loop
:
boolean
)
:
this
Parameters
loop
:
boolean
Returns
this
stop
stop
()
:
this
Returns
this
update
update
(
deltaTime
:
number
)
:
void
Parameters
deltaTime
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
clip
is
Playing
loop
mixer
time
time
Scale
weight
Methods
pause
play
reset
set
Loop
stop
update
Small World Engine API Reference - v0.78.00
Loading...
Controls the playback of a specific AnimationClip within an AnimationMixer.