Package com.luciad.animations
Class AnimationManager.OngoingAnimation
java.lang.Object
com.luciad.animations.AnimationManager.OngoingAnimation
- Enclosing class:
AnimationManager
This struct represents an animation that has been
started
in AnimationManager
and has not been stopped
yet.
It can be retrieved using the getCurrentAnimation
method.
-
Constructor Summary
ConstructorDescriptionOngoingAnimation
(IAnimation animation, double fraction) Constructs the OngoingAnimation with information on the animation and it's state. -
Method Summary
Modifier and TypeMethodDescriptionThe animation that is ongoing, cannot benull
.double
The current position within the animation.
-
Constructor Details
-
OngoingAnimation
Constructs the OngoingAnimation with information on the animation and it's state.- Parameters:
animation
- the ongoing animation.fraction
- the fraction status for the animation.
-
-
Method Details
-
getAnimation
The animation that is ongoing, cannot benull
. -
getFraction
public double getFraction()The current position within the animation.
-