---
title: removeAll()
framework: realitykit
role: symbol
role_heading: Instance Method
path: realitykit/lowlevelmesh/partscollection/removeall()
---

# removeAll()

Removes all mesh parts from this collection.

## Declaration

```swift
mutating func removeAll()
```

## See Also

### Updating collection contents

- [append(_:)](realitykit/lowlevelmesh/partscollection/append(_:).md)
- [append(contentsOf:)](realitykit/lowlevelmesh/partscollection/append(contentsof:).md)
- [replaceAll(_:)](realitykit/lowlevelmesh/partscollection/replaceall(_:).md)
