Click or drag to resize
AB4D logo

AnimationControllerGetAnimationTimeInSeconds(DateTime) Method

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.

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

Parameters

time  DateTime
time

Return Value

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