public void setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) {
        this.setKeyframes(times, translations, rotations);
        if (scales != null) {
            assert times.length == scales.length;
            this.scales = new CompactVector3Array();
            this.scales.add(scales);
            this.scales.freeze();
        }
    }
Set the translations, rotations and scales for this bone track

@param times the time of each frame, measured from the start of the track
(not null, length&gt;0)
@param translations the translation of the bone for each frame (not null,
same length as times)
@param rotations the rotation of the bone for each frame (not null, same
length as times)
@param scales the scale of the bone for each frame (ignored if null)
jme3-core/src/main/java/com/jme3/animation/BoneTrack.java