AnimationInstanceSpeed Property |
Namespace: DigitalRune.Animation
Exception | Condition |
---|---|
ArgumentOutOfRangeException | value is NaN or infinity. |
The speed ratio defines the rate at which time progresses on the timeline. The default value is 1. A value of, for example, 2 means that the animation runs twice as fast. A value of 0.5 causes the animation to run in slow-motion with half speed.
Note that the only the speed ratio of the root instance in the animation tree can be controlled. (Changing the speed ratio of other nodes in the animation tree has no effect.)