public int getNumLodLevels() {
        return lodLevels != null ? lodLevels.length : 0;
    }
@return The number of LOD levels set on this mesh, including the main
index buffer, returns zero if there are no lod levels.
jme3-core/src/main/java/com/jme3/scene/Mesh.java