private MorphTrack toMorphTrack(TrackData data, Spatial spatial) {
        Geometry g = (Geometry) spatial;
        int nbMorph = g.getMesh().getMorphTargets().length;
        return new MorphTrack(g, data.times, data.weights, nbMorph);
    }
GLTF 2.0 loader
Created by Nehon on 07/08/2017.
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java