public void addKeyFrameTransform(int keyFrameIndex, Transform transform) {
        addKeyFrameTranslation(keyFrameIndex, transform.getTranslation());
        addKeyFrameScale(keyFrameIndex, transform.getScale());
        addKeyFrameRotation(keyFrameIndex, transform.getRotation());
    }
Adds a key frame for the given Transform at the given keyFrame index
@param keyFrameIndex the index at which the keyFrame must be inserted
@param transform the transform to use for this keyFrame
jme3-core/src/main/java/com/jme3/animation/AnimationFactory.java