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

# materialNames

The names of the body materials used by this cloth body.

```
var materialNames: [String]
```

## Discussion

The default material is used if no matching material name is present in [`ClothSimulationComponent`](/documentation/RealityKit/ClothSimulationComponent).

The material of the cloth body determines different properties
about the physical behavior of the body, like its resistance to being stretched
or the friction it experiences when colliding.

Note, only the first material name is used.

---

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)