Click or drag to resize
DigitalRuneSpriteNodeAnimationTime Property
Gets or sets the normalized animation time.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float AnimationTime { get; set; }

Property Value

Type: Single
The normalized animation time where 0 marks the start of the animation and 1 marks the end of the animation. The default value is 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or greater than 1.
Remarks
An ImageSprite can contain multiple animation frames. The normalized animation time determines the current frame. (See PackedTexture for more information.)
See Also