<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothCoordinateSpace",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C15CoordinateSpaceV"
  },
  "title" : "ClothCoordinateSpace"
}
-->

# ClothCoordinateSpace

Defines a reference frame within a cloth simulation.

```
struct ClothCoordinateSpace
```

## Overview

Positions described with respect to a cloth coordinate space are relative to its reference frame.

## Topics

### Accessing coordinate spaces

[`static var simulation: ClothCoordinateSpace`](/documentation/RealityKit/ClothCoordinateSpace/simulation)

The reference frame is the simulation root.

[`static var local: ClothCoordinateSpace`](/documentation/RealityKit/ClothCoordinateSpace/local)

The reference frame is the local entity.

## Relationships

### Conforms To

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

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

[`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)