mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
e8e360eaa7
This recipe explains how to "reuse" the same animation definition for different actors, by creating a new instance of a "rig" (empty container) and animation for the rig each time the animation is required. An actor is then re-parented to the rig and animated using it, rather than being animated directly. JSON is used to define the rig + animator, to make creating new instances of them simpler. The recipe also discusses various caveats around using this approach, rather than directly animating an actor. |
||
---|---|---|
.. | ||
common | ||
cookbook | ||
manual | ||
reference | ||
clutter-actor-invariants.txt | ||
CODING_STYLE | ||
HACKING | ||
HACKING.backends | ||
Makefile.am | ||
RELEASING |