Click or drag to resize
AB4D logo

AnimationControllerGetAnimationTimeInSeconds Method

Overload List
 NameDescription
Public methodGetAnimationTimeInSeconds Returns time in seconds that elapsed from the start of the animation (time after calling StartAnimation(Boolean) or StartAnimation(Double, Boolean)). The pause time is not included in the returned time. If animation was not started, 0 is returned. To get the elapsed time to some specified time use the GetAnimationTimeInSeconds(DateTime) method that takes time as parameter.
Public methodGetAnimationTimeInSeconds(DateTime) Returns time in seconds that elapsed from the start of the animation to the time specified as a parameter to this method. The pause time is not included in the returned time. When animation is started with startFrameNumber parameter, then the animation time is increased by the startFrameNumber divided by FramesPerSecond. If animation was not started, 0 is returned.
Top
See Also