RuntimeAnimation

Description

class RuntimeAnimation

Constructor

new RuntimeAnimation(target, animation)

Parameters

Name Type Description
target any
animation Animation

Members

currentFrame : number

animation : Animation

Methods

reset() void

isStopped() boolean

dispose() void

setValue(currentValue, blend) void

Parameters

Name Type Description
currentValue any
optional blend boolean

goToFrame(frame) void

Parameters

Name Type Description
frame number

animate(delay, from, to, loop, speedRatio, blend) boolean

Parameters

Name Type Description
delay number
from number
to number
loop boolean
speedRatio number