---
title: ClothQueryVolumeComponent
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothqueryvolumecomponent
---

# ClothQueryVolumeComponent

A component that defines a volume for querying particles of cloth bodies.

## Declaration

```swift
struct ClothQueryVolumeComponent
```

## Topics

### Creating a query volume

- [init(shape:)](realitykit/clothqueryvolumecomponent/init(shape:).md)

### Configuring the volume shape

- [shape](realitykit/clothqueryvolumecomponent/shape.md)

### Accessing query results

- [queryEntities](realitykit/clothqueryvolumecomponent/queryentities.md)

## Relationships

### Conforms To

- [Component](realitykit/component.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)
- [ClothCoordinateSpace](realitykit/clothcoordinatespace.md)
- [PerClothVertexData](realitykit/perclothvertexdata.md)
