---
title: "init(from:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/meshdeformercomponent/init(from:)"
---

# init(from:)

Validates the deformation and throws errors if a configuration problem is detected.

## Declaration

```swift
init(from: [MeshDeformationStack]) throws
```
