public MorphTarget[] getMorphTargets() {
        if (morphTargets == null) {
            return new MorphTarget[0];
        } else {
            return morphTargets.getArray();
        }
    }
Get the MorphTarget at the given index
@throws IndexOutOfBoundsException if the index outside the number of morph targets
@param index The index of the morph target to get
@return The MorphTarget at the index
jme3-core/src/main/java/com/jme3/scene/Mesh.java