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

# ClothMeshShape

Shape representing a mesh with a configurable inflation bias.

```
struct ClothMeshShape
```

## Topics

### Creating a cloth mesh shape

[`init(mesh: ClothMeshResource, bias: Float)`](/documentation/RealityKit/ClothMeshShape/init(mesh:bias:))

Creates a mesh shape from the given mesh resource and inflation bias.

### Configuring the mesh shape

[`var mesh: ClothMeshResource`](/documentation/RealityKit/ClothMeshShape/mesh)

The mesh resource that this shape is based off.

[`var bias: Float`](/documentation/RealityKit/ClothMeshShape/bias)

The distance by which the vertices are extended outwards along the direction of their normals.

## Relationships

### Conforms To

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

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

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

---

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)