public CreateAnimation ( string name, float length ) : |
||
name | string | |
length | float | |
return |
You don't need to use an Animation object to move objects around - you can do it yourself using the methods of the Node in your application. However, when you need relatively complex scripted animation, this is the class to use since it will interpolate between keyframes for you and generally make the whole process easier to manage.
A single animation can affect multiple Node objects (each AnimationTrack affects a single Node). In addition, through animation blending a single Node can be affected by multiple animations, although this is more useful when performing skeletal animation (see Skeleton.CreateAnimation).
public CreateAnimation ( string name, float length ) : |
||
name | string | |
length | float | |
return |