---
title: materialNames
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothcollidercomponent/materialnames
---

# materialNames

The names of the collider materials used by this collider.

## Declaration

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

## Discussion

Discussion The default material is used if no matching material name is present in ClothSimulationComponent. The material of the collider determines various physical properties of the collider, such as friction. Note, only the first material name is used.

## See Also

### Configuring the collider shape

- [shape](realitykit/clothcollidercomponent/shape.md)
