MCPcopy
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / reinit_mesh

Method reinit_mesh

inpaint/mesh.py:2405–2406  ·  view source on GitHub ↗
(self, verts, faces, colors)

Source from the content-addressed store, hash-verified

2403 return self.canvas.render()
2404
2405 def reinit_mesh(self, verts, faces, colors):
2406 self.mesh.set_data(vertices=verts, faces=faces, vertex_colors=colors[:, :3])
2407
2408 def reinit_camera(self, fov):
2409 self.view.camera.fov = fov

Callers 1

output_3d_photoFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected