Click or drag to resize
DigitalRuneAnimationCurveTValue, TPoint, TCurveKey, TCurveEndParameter Property
Gets or sets the end parameter.

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

Property Value

Type: Single
The end parameter. The default value is NaN.
Remarks

An animation curve, by default, runs from the start (curve parameter = 0) until the last curve key is reached. The parameter of the last curve key determines the natural duration of the animation. The properties StartParameter and EndParameter can be used to explicitly define which part of the animation curve should be played.

The StartParameter can be set to NaN to play the animation from the start (curve parameter = 0).

The EndParameter can be set to NaN to automatically play the animation until the last curve key is reached.

See Also