---
title: ClothCollisionGroupSet
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothcollisiongroupset
---

# ClothCollisionGroupSet

ClothCollisionGroupSet is the basis for the ClothCollisionFilter and should not be used separately.

## Declaration

```swift
struct ClothCollisionGroupSet
```

## Topics

### Creating a group set

- [init(groups:)](realitykit/clothcollisiongroupset/init(groups:).md)

### Accessing default groups

- [defaultBodies](realitykit/clothcollisiongroupset/defaultbodies.md)
- [defaultColliders](realitykit/clothcollisiongroupset/defaultcolliders.md)

### Initializers

- [init(rawValue:)](realitykit/clothcollisiongroupset/init(rawvalue:).md)

### Instance Properties

- [rawValue](realitykit/clothcollisiongroupset/rawvalue.md)

### Type Properties

- [all](realitykit/clothcollisiongroupset/all.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Collision

- [ClothColliderComponent](realitykit/clothcollidercomponent.md)
- [ClothColliderShape](realitykit/clothcollidershape.md)
- [ClothColliderMaterial](realitykit/clothcollidermaterial.md)
- [ClothCollisionFilter](realitykit/clothcollisionfilter.md)
