code: public static Geometry createShape(String name, Mesh shape, ColorRGBA color) {
          checkInit();
          
          Geometry g = new Geometry(name, shape);
          Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
          mat.getAdditionalRenderState().setWireframe(true);
          mat.setColor("Color", color);
          g.setMaterial(mat);
          return g;
      }
docs: Creates a geometry given its name, its mesh and its color
  
  @param name
  @param shape
  @param color
  @return