Class NodeAnimation


  • public class NodeAnimation
    extends java.lang.Object
    A NodeAnimation defines keyframes for a Node in a Model. The keyframes are given as a translation vector, a rotation quaternion and a scale vector. Keyframes are interpolated linearly for now. Keytimes are given in seconds.
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeAnimation()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • node

        public Node node
        the Node affected by this animation
      • translation

        public Array<NodeKeyframe<Vector3>> translation
        the translation keyframes if any (might be null), sorted by time ascending
      • scaling

        public Array<NodeKeyframe<Vector3>> scaling
        the scaling keyframes if any (might be null), sorted by time ascending
    • Constructor Detail

      • NodeAnimation

        public NodeAnimation()