Navigation
BlueprintAPI > BlueprintAPI/GeometryScript > BlueprintAPI/GeometryScript/MeshEdits
Attempt to merge together vertices in one selection to their closest vertices in the second selection, within a distance threshold. Note that some merges may be prevented because they would create non-manifold edges in the mesh, which are not supported.
Target is Geometry Script Library Mesh Basic Edit Functions
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target Mesh | Mesh in which to merge vertices |
| struct | Selection Keep | Selection of vertices to be merged with SelectionDiscard, treated as 'kept' vertices for purposes of interpolation. |
| struct | Selection Discard | Selection of vertices to be merged with SelectionKeep. Note: If a vertex is in both selections, it will be treated as if it were only in SelectionKeep. |
| struct | Options | Options for merge, controlling which merges should be permitted |
| real | Interp Param | The kept vertex is moved to interpolated position Lerp(VertexKeep Position, VertexDiscard Position, InterpParam) |
| real | Distance Threshold | Vertices further apart than this threshold will not be merged |
| boolean | Defer Change Notifications | Whether to defer change notifications after this operation |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| integer | Num Merged | Number of vertices merged |
| object | Target Mesh |