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

# BlendWeight

A numerical representation of the impact an animation has on a scene or
entity.

```
enum BlendWeight
```

## Overview

The [`BlendTreeSourceNode`](/documentation/RealityKit/BlendTreeSourceNode) structure accepts this enumeration as an
initializer argument.

To specify a custom weight, use the value case:

```swift
let node = BlendTreeSourceNode(
    source: animation1,
    name: "anim2",
    weight: .value(0.75))
```

## Topics

### Choosing the blend weight

[`case bindTarget(BindTarget, defaultWeight: Float)`](/documentation/RealityKit/BlendWeight/bindTarget(_:defaultWeight:))

The amount of impact  an animation has on the bind target of an entity.

[`case parameter(String, defaultWeight: Float)`](/documentation/RealityKit/BlendWeight/parameter(_:defaultWeight:))

The amount of impact an animation has on a named parameter of an entity.

[`case value(Float)`](/documentation/RealityKit/BlendWeight/value(_:))

The numerical representation of the impact an animation has on an
entity.

### Comparing blend weights

### Operators

[`static func == (BlendWeight, BlendWeight) -> Bool`](/documentation/RealityKit/BlendWeight/==(_:_:))

Returns a Boolean value that indicates whether two blend weights are
equal.

## Relationships

### Conforms To

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

---

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)