| BlendAnimationGetTotalDuration Method |
Gets the total length of the timeline.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public TimeSpan GetTotalDuration()
Public Function GetTotalDuration As TimeSpan
public:
virtual TimeSpan GetTotalDuration() sealed
abstract GetTotalDuration : unit -> TimeSpan
override GetTotalDuration : unit -> TimeSpan
Return Value
Type:
TimeSpanThe total length of the timeline.
Implements
ITimelineGetTotalDurationRemarks
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