---
title: ClothBoxShape
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothboxshape
---

# ClothBoxShape

Shape representing a box.

## Declaration

```swift
struct ClothBoxShape
```

## Topics

### Creating a box shape

- [init(size:)](realitykit/clothboxshape/init(size:).md)

### Accessing the dimensions

- [size](realitykit/clothboxshape/size.md)

## Relationships

### Conforms To

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

## See Also

### Cloth shapes

- [ClothMeshShape](realitykit/clothmeshshape.md)
- [ClothPlaneShape](realitykit/clothplaneshape.md)
- [ClothRoundedBoxShape](realitykit/clothroundedboxshape.md)
- [ClothSphereShape](realitykit/clothsphereshape.md)
- [ClothCapsuleShape](realitykit/clothcapsuleshape.md)
- [ClothVolumeShape](realitykit/clothvolumeshape.md)
