<!--
{
  "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/BlendTreeSourceNode/init(source:name:weight:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc"
  },
  "title" : "init(source:name:weight:)"
}
-->

# init(source:name:weight:)

Creates a node that defines an animation within a tree of other blend
nodes.

```
init(source: any AnimationDefinition, name: String = "", weight: BlendWeight = .value(1.0))
```

## Parameters

`source`

The blend node’s animation.

`name`

A textual name for the blend node.

`weight`

A normalized percentage that designates how much effect this
node has compared to peer nodes.

---

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)