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

# ClothQueryVolumeEvents.NewBodyIntersections.Intersection

An intersection with a cloth body.

```
struct Intersection
```

## Topics

### Inspecting the intersection

[`let bodyEntity: Entity`](/documentation/RealityKit/ClothQueryVolumeEvents/NewBodyIntersections/Intersection/bodyEntity)

The entity of the body that intersected the volume.

[`var bodyComponent: ClothBodyComponent?`](/documentation/RealityKit/ClothQueryVolumeEvents/NewBodyIntersections/Intersection/bodyComponent)

The [`ClothBodyComponent`](/documentation/RealityKit/ClothBodyComponent) of the intersecting body, if still present on the entity.

[`func withParticleIndices<Result>((Span<UInt32>) -> Result) -> Result`](/documentation/RealityKit/ClothQueryVolumeEvents/NewBodyIntersections/Intersection/withParticleIndices(_:))

Provides access to the indices of particles that intersected the volume.

## Relationships

### Conforms To

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

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

---

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)