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

# ClothSimulationEvents.AfterUpdate

An event type that a cloth simulation publishes immediately after performing an update.

```
struct AfterUpdate
```

## Topics

### Accessing update information

[`let simulationEntity: Entity`](/documentation/RealityKit/ClothSimulationEvents/AfterUpdate/simulationEntity)

The entity that has the simulation component that this event originates from.

[`let updateCount: UInt64`](/documentation/RealityKit/ClothSimulationEvents/AfterUpdate/updateCount)

The total number of updates in the simulation including the update that immediately precedes this event.

### Instance Properties

[`let deltaTime: TimeInterval`](/documentation/RealityKit/ClothSimulationEvents/AfterUpdate/deltaTime)

The duration of the simulation update, in seconds, that this event represents.

## 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)