Click or drag to resize
AB4D logo

AnimationControllerGetAnimationTimeInSeconds Method

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.

Namespace: Ab3d.Animation
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public double GetAnimationTimeInSeconds()

Return Value

Double
time in seconds that elapsed from the start of the animation (without pause time)
See Also