Method InsertVertexInMesh
InsertVertexInMesh(ProBuilderMesh, Vector3, Vector3)
Adds a point to a mesh.
Declaration
public static Vertex InsertVertexInMesh(this ProBuilderMesh mesh, Vector3 point, Vector3 normal)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
Vector3 | point | Point to add to the face. |
Vector3 | normal | The inserted point's normal. |
Returns
Type | Description |
---|---|
Vertex | The new inserted Vertex. |