Class Animation


  • public class Animation
    extends java.lang.Object
    An Animation has an id and a list of NodeAnimation instances. Each NodeAnimation animates a single Node in the Model. Every NodeAnimation is assumed to have the same amount of keyframes, at the same timestamps, as all other node animations for faster keyframe searches.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float duration
      the duration in seconds
      java.lang.String id
      the unique id of the animation
      Array<NodeAnimation> nodeAnimations
      the animation curves for individual nodes
    • Constructor Summary

      Constructors 
      Constructor Description
      Animation()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public java.lang.String id
        the unique id of the animation
      • duration

        public float duration
        the duration in seconds
      • nodeAnimations

        public Array<NodeAnimation> nodeAnimations
        the animation curves for individual nodes
    • Constructor Detail

      • Animation

        public Animation()