| BillboardNodeAnimationTime Property |
Gets or sets the normalized animation time. (Overrides the animation time of an
ImageBillboard.)
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.
NaN can be set to use the value set in the
ImageBillboard; otherwise, the property overrides the value set in the
ImageBillboard. The default value is
NaN.
Exceptions Remarks
The
Texture can contain multiple animation frames. The
normalized animation time determines the current frame. (See
PackedTexture
for more information.)
See Also