---
title: materials
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothsimulationcomponent/materials
---

# materials

A collection of materials that cloth colliders and cloth bodies can use in this simulation.

## Declaration

```swift
var materials: ClothSimulationComponent.MaterialCollection
```

## Discussion

Discussion Cloth bodies and colliders can refer to these materials by specifying the material name via materialNames and materialNames.

## See Also

### Assigning materials

- [ClothSimulationComponent.MaterialCollection](realitykit/clothsimulationcomponent/materialcollection.md)
- [ClothSimulationComponent.Material](realitykit/clothsimulationcomponent/material.md)
