<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/SkeletonResource/init(named:rootJoint:animationEvaluation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation16SkeletonResourceC5named9rootJoint19animationEvaluationACSS_AC0G0VAC09AnimationI0VtKcfc"
  },
  "title" : "init(named:rootJoint:animationEvaluation:)"
}
-->

# init(named:rootJoint:animationEvaluation:)

Creates a skeleton resource with the specified name, joint hierarchy, and animation-evaluation data.

```
convenience init(named name: String, rootJoint: SkeletonResource.Joint, animationEvaluation: SkeletonResource.AnimationEvaluation = .init()) throws
```

## Parameters

`name`

A unique identifier for the skeleton, used by the animation runtime to link
animation clips and retargeting configurations to this skeleton.

`rootJoint`

The root joint of the skeleton hierarchy.

`animationEvaluation`

Additional animation-related skeletal data to bake into the resource. Defaults to empty.

## Discussion> Throws: If the joint hierarchy contains invalid data, or if the underlying resource cannot be created.

---

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)