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

# ClothQueryVolumeEvents.NewBodyIntersections

An event type that a cloth query volume publishes (before simulation update) when cloth bodies intersect it.

```
struct NewBodyIntersections
```

## Overview

This event should be treated as having a non-escapable lifetime.
Some of its data is no longer available after its lifetime has ended.

## Topics

### Accessing the intersections

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

Provides access to the intersections with cloth bodies that took place.

[`struct Intersection`](/documentation/RealityKit/ClothQueryVolumeEvents/NewBodyIntersections/Intersection)

An intersection with a cloth body.

### Identifying the query volume

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

The entity that has the query volume component that this event originates from.

[`let updateCount: UInt64`](/documentation/RealityKit/ClothQueryVolumeEvents/NewBodyIntersections/updateCount)

The simulation update that this event originates from.

## Relationships

### Conforms To

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

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

[`Event`](/documentation/RealityKit/Event)

---

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)