Class AnimationManager.OngoingAnimation

java.lang.Object
com.luciad.animations.AnimationManager.OngoingAnimation
Enclosing class:
AnimationManager

public static final class AnimationManager.OngoingAnimation extends Object
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 Details

    • OngoingAnimation

      public OngoingAnimation(@NotNull IAnimation animation, double fraction)
      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

      @NotNull public IAnimation getAnimation()
      The animation that is ongoing, cannot be null.
    • getFraction

      public double getFraction()
      The current position within the animation.