---
title: "init(weightsMapping:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/blendshapeweightscomponent/init(weightsmapping:)"
---

# init(weightsMapping:)

Create a BlendShapeWeightsComponent from a BlendShapeWeightsMapping.

## Declaration

```swift
init(weightsMapping: BlendShapeWeightsMapping)
```
