---
title: ClothCoordinateSpace
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothcoordinatespace
---

# ClothCoordinateSpace

Defines a reference frame within a cloth simulation.

## Declaration

```swift
struct ClothCoordinateSpace
```

## Overview

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

## Topics

### Accessing coordinate spaces

- [simulation](realitykit/clothcoordinatespace/simulation.md)
- [local](realitykit/clothcoordinatespace/local.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Simulation and bodies

- [ClothSimulationComponent](realitykit/clothsimulationcomponent.md)
- [ClothBodyComponent](realitykit/clothbodycomponent.md)
- [ClothBodyMaterial](realitykit/clothbodymaterial.md)
- [ClothGrabComponent](realitykit/clothgrabcomponent.md)
- [ClothForceVolumeComponent](realitykit/clothforcevolumecomponent.md)
- [ClothQueryVolumeComponent](realitykit/clothqueryvolumecomponent.md)
- [PerClothVertexData](realitykit/perclothvertexdata.md)
