---
title: ClothBodyComponent.InflationConstraint
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothbodycomponent/inflationconstraint-swift.struct
---

# ClothBodyComponent.InflationConstraint

Configuration for an inflatable cloth body.

## Declaration

```swift
struct InflationConstraint
```

## Topics

### Creating an inflation constraint

- [init(targetVolume:stiffness:)](realitykit/clothbodycomponent/inflationconstraint-swift.struct/init(targetvolume:stiffness:).md)
- [init(stiffness:)](realitykit/clothbodycomponent/inflationconstraint-swift.struct/init(stiffness:).md)

### Configuring inflation

- [targetVolume](realitykit/clothbodycomponent/inflationconstraint-swift.struct/targetvolume.md)
- [stiffness](realitykit/clothbodycomponent/inflationconstraint-swift.struct/stiffness.md)

## Relationships

### Conforms To

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

## See Also

### Applying external forces

- [externalForces](realitykit/clothbodycomponent/externalforces.md)
- [ClothBodyComponent.ExternalForce](realitykit/clothbodycomponent/externalforce.md)
- [inflationConstraint](realitykit/clothbodycomponent/inflationconstraint-swift.property.md)
