@Override
    public void read(JmeImporter im) throws IOException {
        InputCapsule ic = im.getCapsule(this);
        weights = ic.readFloatArray("weights", null);
        times = ic.readFloatArray("times", null);
        target = (Geometry) ic.readSavable("target", null);
        nbMorphTargets = ic.readInt("nbMorphTargets", 0);
        setTimes(times);
    }
De-serialize this track from the specified importer, for example when
loading from a J3O file.

@param im the importer to use (not null)
@throws IOException from the importer
jme3-core/src/main/java/com/jme3/anim/MorphTrack.java