AnimationT Properties |
The AnimationT type exposes the following members.
Name | Description | |
---|---|---|
Direction | ||
Duration | Duration of one animation loop in milliseconds. If duration has not been explicitly set using the SetDuration(Single) or SetDuration(FuncT, Int32, Int32, Single) methods, the duration is determined by length of the animation tracks (elements). If duration has been explicitly set, all tracks are temporally scaled to the specified length, so the estimated duration should also equal to the specified one. The duration estimate becomes available (valid) only after animation is started and tracks are finalized. | |
EasingFunction | ||
IsAutomaticallyUpdating | When true (by default) then the animation is automatically subscribed to SceneUpdating event on Scene or SceneView object. When false, then user must manually call Update or Update(Single) methods. This property must be set before the animation is started. | |
IsInitialized | True after animation is initialized using the Initialize method. | |
IsRunning | True when the animation is running (has been started). | |
IsUsingExistingStandardTransform | When true than an existing transformation on SceneNode will be animated (by default). When false, then each start of animation will add a new StandardTransformation object to the SceneNode's Transform. | |
Loop | When false (by default) the animation is played only once. When true the animation is repeated. By default the animation is repeated indefinitely. To limit the number of iterations set the LoopCount property. | |
LoopCount | Gets or sets number of times the animation iterations. Zero (by default) means to loop indefinitely (if Loop is true). | |
LoopIteration | Loop iteration counter | |
Name | Gets an optional name of the animation that can be set when the animation is created. | |
Progress | Gets the progress of the animation within one loop. The returns value is in range from 0 (start of the animation) to 1 (end of the animated loop). | |
Time | Gets the time of the current animation loop. | |
TotalDuration | Total duration of the animation including the loops that are defined by Loop and LoopCount. In case when the animation loops indefinitely (Loop = true; LoopCount = 0), then float.PositiveInfinity is returned. | |
TotalProgress | Gets the total progress of the animation including the loops that are defined by Loop and LoopCount. The returns value is in range from 0 (start of the animation) to 1 (end of the animated loop). | |
TotalTime | Gets the total time of the animation including the loops that are defined by Loop and LoopCount. |