/** * Creates a morph track with the given Geometry as a target * * @param times a float array with the time of each frame * @param weights the morphs for each frames */ public MorphTrack(Geometry target, float[] times, float[] weights, int nbMorphTargets) { this.target = target; this.nbMorphTargets = nbMorphTargets; this.setKeyframes(times, weights); }