Overview
Defines a key timing and values that can be interpolated along the Timeline.
The developer can control the timing and/or motion behavior for a particular interval by providing target values and Interpolator associated to each value. The values are interpolated along the particular interval and reach the target value at specified timing. Also, action function is invoked at the particular timing if provided.
See Also:
Timeline, Interpolator
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | action | function():Void | null |
A function that is called when the elapsed time on a cycle passes
the specified time of this A function that is called when the elapsed time on a cycle passes
the specified time of this Profile: common |
|||
public | canSkip | Boolean | false |
Defines whether or not the action() function can be skipped if the master timer gets behind and more than one Timeline cycles are skipped between time pulses. Defines whether or not the action() function
can be skipped if the master timer gets behind and
more than one Timeline cycles are skipped
between time pulses.
If Profile: common |
|||
public | time | Duration | 0s |
Defines the reference elapsed time offset within a single cycle of a Timeline at which the associated values will be set and at which the action() function will be called. |
|||
public | timelines | Timeline[] | null |
A list of sub-timelines that will be started when the time cursor passes
the specified time of this A list of sub-timelines that will be started when the time cursor passes
the specified time of this
Sub timelines inside another sub timeline is not supported, a
Profile: common |
|||
public | values | KeyValue[] | null |
The list of target variables and the desired values they should
interpolate at the specified time of this |
Inherited Variables
Function Summary
- public compareTo(o: java.lang.Object) : Integer
-
A comparison function used to sort KeyFrames by their specified reference time.
A comparison function used to sort KeyFrames by their specified reference time.
-
Parameters
- o
-
the
KeyFrame
to compare to
-
Returns
- Integer
-
an Integer value
> 0 if specifiedKeyFrame
timing is ahead of this
= 0 if they have the same timing
< 0 if specifiedKeyFrame
timing is behind this
Profile: common