FrameTimeline

FrameTimeline

Animation's Timeline with Frame

Constructor

new FrameTimeline()

Source:

Extends

Members

(readonly) last

Source:
Inherited From:
get last time of list

(readonly) length

Source:
Inherited From:
get last time of list

Methods

add(time, object) → {Timeline}

Source:
Inherited From:
add object in list
Parameters:
Name Type Description
time Number frame's time
object Object target
Returns:
An instance itself
Type
Timeline

get(time) → {Object}

Source:
Inherited From:
get object at that time.
Parameters:
Name Type Description
time Number object's time
Returns:
object at that time
Type
Object

has(time) → {Boolean}

Source:
Inherited From:
Check if timeline has object at that time.
Parameters:
Name Type Description
time Number object's time
Returns:
true: if has time, false: not
Type
Boolean

remove(time) → {Timeline}

Source:
Inherited From:
remove object at that time.
Parameters:
Name Type Description
time Number object's time
Returns:
An instance itself
Type
Timeline

update() → {FrameTimeline}

Source:
update property names used in frames.
Example
timeline.update();
Returns:
An instance itself
Type
FrameTimeline

updateFrame(time, frameopt) → {FrameTimeline}

Source:
update property names used in frame.
Example
timeline.updateFrame(time, this.get(time));
Parameters:
Name Type Attributes Description
time Number frame's time
frame Frame <optional>
frame of that time.
Returns:
An instance itself
Type
FrameTimeline