# Sandbox.PolygonMesh.MergeMesh

```csharp
void MergeMesh(PolygonMesh sourceMesh, Transform transform, out Dictionary<VertexHandle,VertexHandle> newVertices, out Dictionary<HalfEdgeHandle,HalfEdgeHandle> newHalfEdges, out Dictionary<FaceHandle,FaceHandle> newFaces)
```

### Parameters

- `sourceMesh` (`PolygonMesh`)
- `transform` (`Transform`)
- `out newVertices` (`Dictionary<VertexHandle,VertexHandle>`)
- `out newHalfEdges` (`Dictionary<HalfEdgeHandle,HalfEdgeHandle>`)
- `out newFaces` (`Dictionary<FaceHandle,FaceHandle>`)

Declared in [Sandbox.PolygonMesh](/api/Sandbox.PolygonMesh).
Assembly: `Sandbox.Engine`.
