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

# ClothBoxShape

Shape representing a box.

```
struct ClothBoxShape
```

## Topics

### Creating a box shape

[`init(size: SIMD3<Float>)`](/documentation/RealityKit/ClothBoxShape/init(size:))

Creates a box shape with the given size.

### Accessing the dimensions

[`var size: SIMD3<Float>`](/documentation/RealityKit/ClothBoxShape/size)

The size of the box along each axis.

## Relationships

### Conforms To

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

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

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

---

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)