else if ((spat.getType() & Spatial.TRIANGLEBATCH) != 0) count += ((TriangleBatch)spat).getVertexCount();
    public int getVertexCount() {        int count = 0;        if(children != null) {            for(int i = 0; i < children.size(); i++) {                Spatial spat = children.get(i);                if ((spat.getType() & Spatial.NODE) != 0)                    count += ((Node)spat).getVertexCount();                else if ((spat.getType() & Spatial.TRIMESH) != 0)                    count += ((TriMesh)spat).getTotalVertices();                else if ((spat.getType() & Spatial.TRIANGLEBATCH) != 0)                    count += ((TriangleBatch)spat).getVertexCount();            }        }                return count;    }