Class IntNodeAnimation


  • public class IntNodeAnimation
    extends java.lang.Object
    A NodeAnimation defines keyframes for a IntNode in a IntModel. 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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      IntNode node
      the Node affected by this animation
      com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Quaternion>> rotation
      the rotation keyframes if any (might be null), sorted by time ascending
      com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Vector3>> scaling
      the scaling keyframes if any (might be null), sorted by time ascending
      com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Vector3>> translation
      the translation keyframes if any (might be null), sorted by time ascending
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • node

        public IntNode node
        the Node affected by this animation
      • translation

        public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Vector3>> translation
        the translation keyframes if any (might be null), sorted by time ascending
      • rotation

        public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Quaternion>> rotation
        the rotation keyframes if any (might be null), sorted by time ascending
      • scaling

        public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.NodeKeyframe<com.badlogic.gdx.math.Vector3>> scaling
        the scaling keyframes if any (might be null), sorted by time ascending
    • Constructor Detail

      • IntNodeAnimation

        public IntNodeAnimation()