Method Bridge
Bridge(ProBuilderMesh, Edge, Edge, bool)
Inserts a face between two edges.
This is the equivalent of the Bridge Edges action.
Declaration
public static Face Bridge(this ProBuilderMesh mesh, Edge a, Edge b, bool allowNonManifoldGeometry = false)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
Edge | a | First edge. |
Edge | b | Second edge |
bool | allowNonManifoldGeometry | If true, this function will allow edges to be bridged that create overlapping (non-manifold) faces. |
Returns
Type | Description |
---|---|
Face | The new face, or null of the action failed. |