Click or drag to resize
DigitalRuneSkeletonKeyFrameAnimationGetTotalDuration Method
Gets the total length of the timeline.

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public TimeSpan GetTotalDuration()

Return Value

Type: TimeSpan
The total length of the timeline.

Implements

ITimelineGetTotalDuration
Remarks

The total duration is the effective length of the animation timeline. Depending on the type of timeline, the total duration can be the natural duration of the underlying animation or might be set explicitly by the user.

Notes to Implementors: The duration must be 0 or a positive value. MaxValue can be returned to indicate that the animation runs forever.

See Also