---
title: ClothCapsuleShape
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothcapsuleshape
---

# ClothCapsuleShape

Shape representing a capsule (full height is height + 2 * radius).

## Declaration

```swift
struct ClothCapsuleShape
```

## Topics

### Creating a capsule shape

- [init(height:radius:)](realitykit/clothcapsuleshape/init(height:radius:).md)

### Instance Properties

- [height](realitykit/clothcapsuleshape/height.md)
- [radius](realitykit/clothcapsuleshape/radius.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)
- [ClothBoxShape](realitykit/clothboxshape.md)
- [ClothRoundedBoxShape](realitykit/clothroundedboxshape.md)
- [ClothSphereShape](realitykit/clothsphereshape.md)
- [ClothVolumeShape](realitykit/clothvolumeshape.md)
