<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothSimulationComponent/FrictionOverridesCollection/Key",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C19SimulationComponentV27FrictionOverridesCollectionV3KeyV"
  },
  "title" : "ClothSimulationComponent.FrictionOverridesCollection.Key"
}
-->

# ClothSimulationComponent.FrictionOverridesCollection.Key

The pair of materials whose combined frictions are overridden.

```
struct Key
```

## Topics

### Creating a key

[`init(String, String)`](/documentation/RealityKit/ClothSimulationComponent/FrictionOverridesCollection/Key/init(_:_:))

Creates a material-pair key from the names of the two materials.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)