Click or drag to resize
DigitalRuneAnimationInstanceSpeed Property
Gets or sets the rate at which time progresses.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public float Speed { get; set; }

Property Value

Type: Single
The speed ratio. The default value is 1.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is NaN or infinity.
Remarks

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.)

See Also