SurfaceMesh.addVertex()¶
Lives in: pygamer.surfacemesh
- SurfaceMesh.addVertex(*args, **kwargs)¶
Overloaded function.
addVertex(self: pygamer.surfacemesh.SurfaceMesh, data: pygamer.surfacemesh.Vertex) -> int
Add a vertex to the mesh without specifying the key.
- Returns:
int
: Key value of the new vertex.
addVertex(self: pygamer.surfacemesh.SurfaceMesh, x: float = 0, y: float = 0, z: float = 0, marker: int = -1, selected: bool = False) -> None