---
title: "init(engine:mesh:)"
framework: phase
role: symbol
role_heading: Initializer
path: "phase/phaseshape/init(engine:mesh:)"
---

# init(engine:mesh:)

Creates an object that the given geometric data shapes.

## Declaration

```swift
init(engine: PHASEEngine, mesh: MDLMesh)
```

## Parameters

- `engine`: The object that controls this class’s associated audio output.
- `mesh`: A collection of points that connect to form a shape.

## See Also

### Creating a Shape

- [init(engine:mesh:materials:)](phase/phaseshape/init(engine:mesh:materials:).md)
