| SpriteNodeAnimationTime Property |
Gets or sets the normalized animation time.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float AnimationTime { get; set; }
Public Property AnimationTime As Single
Get
Set
public:
property float AnimationTime {
float get ();
void set (float value);
}
member AnimationTime : float32 with 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 Remarks
An
ImageSprite can contain multiple animation frames. The normalized animation
time determines the current frame. (See
PackedTexture for more information.)
See Also