public void addTimeTransform(float time, Transform transform) {
        if (!(time >= 0f && time <= duration)) {
            throw new IllegalArgumentException("animation time out of range");
        }

        Vector3f translation = transform.getTranslation(null);
        translations.put(time, translation);
        rotations.put(time, transform.getRotation(null));
        scales.put(time, transform.getScale(null));
    }
Add a keyframe for the specified Transform at the specified time.

@param time the animation time when the full Transform should be achieved
(&ge;0, &le;duration)
@param transform the local Transform to apply to the target (not null,
unaffected)
jme3-core/src/main/java/com/jme3/anim/AnimFactory.java