Timeline and setting keyframes#
In his tutorial, you will learn how to use Fury
Timeline for playing the
Timeline is responsible for handling the playback of Fury Animations.
Timeline has playback methods such as
which can be used to control the animation.
We create our
ShowManager as usual.
Timeline has the option to attaches a very useful panel for
controlling the animation by setting
Timeline with a PlaybackPanel.
Creating a Fury Animation as usual
There are multiple ways to set keyframes:
1- To set a single keyframe, you may use
where <property> is the name of the property to be set. I.e. setting position
to (1, 2, 3) at time 0.0 would be as following:
Supported properties are: position, rotation, scale, color, and opacity.
2- To set multiple keyframes at once, you may use
That’s it! Now we are done setting keyframes.
In order to control this animation by the timeline we created earlier, this animation must be added to the timeline.
Now we add only the
Timeline to the
ShowManager the same way we add
Animation to the
Total running time of the script: ( 0 minutes 0.124 seconds)