---
title: "init(id:from:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/skeletalpose/init(id:from:)"
---

# init(id:from:)

Creates a skeletal pose from the rest pose of the model skeleton.

## Declaration

```swift
init(id: SkeletalPose.ID, from skeleton: MeshResource.Skeleton)
```

## Parameters

- `id`: The unique name of the pose.
- `skeleton`: The skeleton to extract the joint names and rest pose transformations from.
