the frame rate of the animation
the start time of the animation;
the animation will begin at the closest frame to this time,
which can be queried through the firstFrameTime
value
the end time of the animation;
the animation will end at the closest frame to this time,
which can be queries through the lastFrameTime
value
the end time of the animation;
the animation will end at the closest frame to this time,
which can be queries through the lastFrameTime
value
The frame number of the first frame in this animation sequence.
The actual starting time of the animation; this is the time of the first frame.
the frame rate of the animation
Gets the current frame state of the clock.
Gets the current frame state of the clock.
the current frame number
Converts a frame number to the exact corresponding time.
Converts a frame number to the exact corresponding time.
a frame number
the exact corresponding time
The frame number of the last frame in this animation sequence.
The actual ending time of the animation; this is the time of the last frame.
the start time of the animation;
the animation will begin at the closest frame to this time,
which can be queried through the firstFrameTime
value
Gets the current time state of the clock.
Gets the current time state of the clock.
the current time, in seconds
Converts a time to the closest frame number.
Converts a time to the closest frame number.
a time
the closest frame number
A timeline that keeps track of the elapsed time in an animation.
Warning: timelines contain state, even though the state is not directly modifiable by an outsider. The state changes as an animated scene renders and the timeline advances.
Note: the start time does not correspond to frame 0. The time 0.0 seconds corresponds to frame 0; all other values will be interpolated based on the frame rate.
Use the default
startTime
andendTime
parameters for a single-frame (static) sequence.the frame rate of the animation
the start time of the animation; the animation will begin at the closest frame to this time, which can be queried through the
firstFrameTime
valuethe end time of the animation; the animation will end at the closest frame to this time, which can be queries through the
lastFrameTime
value