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 Link icon

    • OngoingAnimation Link icon

      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 Link icon

    • getAnimation Link icon

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

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