public void setKeyframes(float[] times, float[] weights) {
        if (times != null) {
            setTimes(times);
        }
        if (weights != null) {
            setKeyframesWeight(weights);
        }
    }
Sets the times and weights for this morph track. Note that the number of weights
must equal the number of frames times the number of morph targets.

@param times    a float array with the time of each frame (alias created
                -- do not modify after passing it to this setter)
@param weights  the weights of the morphs for each frame (alias created
                -- do not modify after passing it to this setter)
jme3-core/src/main/java/com/jme3/anim/MorphTrack.java