<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothBodyComponent/mesh",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C13BodyComponentV4meshAA0C12MeshResourceCvp"
  },
  "title" : "mesh"
}
-->

# mesh

The (simulation) mesh of the cloth body that defines the rest pose of the body.

```
var mesh: ClothMeshResource { get }
```

## Discussion

This acts as the initial pose of the body when [`initialMeshDraping`](/documentation/RealityKit/ClothBodyComponent/initialMeshDraping) is `nil`.

The different stiffnesses of the assigned material determine in which ways and how firmly the body tries to preserve this rest pose.
You can use [`resetDeformation(entity:)`](/documentation/RealityKit/ClothBodyComponent/resetDeformation(entity:)) to restore the body back to this rest pose at any time.

The topology of the mesh can influence the simulation behavior.

---

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)