<!--
{
  "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/SkeletalPoseSet",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15SkeletalPoseSetV"
  },
  "title" : "SkeletalPoseSet"
}
-->

# SkeletalPoseSet

A collection of named skeletal poses.

```
struct SkeletalPoseSet
```

## Topics

### Initializers

[`init()`](/documentation/RealityKit/SkeletalPoseSet/init())

Creates an empty collection.

### Instance Properties

[`var count: Int`](/documentation/RealityKit/SkeletalPoseSet/count)

The number of elements in the collection.

[`var `default`: SkeletalPoseSet.Element?`](/documentation/RealityKit/SkeletalPoseSet/default)

Accesses the first skeletal pose.

[`var isEmpty: Bool`](/documentation/RealityKit/SkeletalPoseSet/isEmpty)

A Boolean value indicating whether the collection is empty.

### Instance Methods

[`func contains(SkeletalPose.ID) -> Bool`](/documentation/RealityKit/SkeletalPoseSet/contains(_:))

Checks if the set contains a pose with the given name.

[`func index(of: SkeletalPose.ID) -> SkeletalPoseSet.Index?`](/documentation/RealityKit/SkeletalPoseSet/index(of:))

Returns the index where the specified pose appears in the collection.

[`func set(SkeletalPoseSet.Element) -> SkeletalPoseSet.Element?`](/documentation/RealityKit/SkeletalPoseSet/set(_:))

Updates a pose in the set based on its name. If pose with this ID does not exist, does nothing.

### Default Implementations

[Collection Implementations](/documentation/RealityKit/SkeletalPoseSet/Collection-Implementations)

## Relationships

### Conforms To

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

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

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

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

---

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)