|
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.AnimationAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax public virtual double GetAnimationTimeInSeconds(
DateTime time
)
Parameters
- time DateTime
- time
Return Value
Doubletime in seconds that elapsed from the start of the animation (without pause time)
See Also