<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/BlendShapeWeightsData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21BlendShapeWeightsDataV"
  },
  "title" : "BlendShapeWeightsData"
}
-->

# BlendShapeWeightsData

A structure that encapsulates the blend shape name, blend shape weights and the names
of those weights to be stored by the blend shape weights set.

```
struct BlendShapeWeightsData
```

## Topics

### Initializers

[`init(id: BlendShapeWeightsData.ID, weights: [(String, BlendShapeWeights.Element)])`](/documentation/RealityKit/BlendShapeWeightsData/init(id:weights:))

Creates an instance of the named weights for a single blend shape.

### Instance Properties

[`var id: BlendShapeWeightsData.ID`](/documentation/RealityKit/BlendShapeWeightsData/id)

The unique id of the blend shape. This value is used when binding to the structure using an animation bind target.

[`var weightNames: [String]`](/documentation/RealityKit/BlendShapeWeightsData/weightNames)

The name of each weight value defined in the [`weights`](/documentation/RealityKit/BlendShapeWeightsData/weights) variable.

[`var weights: BlendShapeWeights`](/documentation/RealityKit/BlendShapeWeightsData/weights)

The blend shape’s weight values.

## Relationships

### Conforms To

[`Identifiable`](/documentation/Swift/Identifiable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)