<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDPrim/InheritCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV17InheritCollectionV"
  },
  "title" : "USDPrim.InheritCollection"
}
-->

# USDPrim.InheritCollection

Manages inherit composition arcs on a prim.

```
struct InheritCollection
```

## Overview

Inheritance allows a prim to inherit opinions from another prim within
the same layer stack, similar to class inheritance in object-oriented
programming. Use `USDPrim.InheritCollection` to add, remove, and query
inherit arcs on a prim.

## Topics

### Instance Properties

[`var inheritedPaths: [USDLayer.Path]`](/documentation/USDKit/USDPrim/InheritCollection/inheritedPaths)

All paths this prim inherits from, including paths inherited
transitively through inherited classes.

[`var prim: USDPrim`](/documentation/USDKit/USDPrim/InheritCollection/prim)

The prim that owns these inherit arcs.

### Instance Methods

[`func add(USDLayer.Path, position: USDPrim.ListPosition) throws`](/documentation/USDKit/USDPrim/InheritCollection/add(_:position:))

Adds an inherit arc to the prim.

[`func clear() throws`](/documentation/USDKit/USDPrim/InheritCollection/clear())

Removes all inherit arcs from the prim.

[`func remove(USDLayer.Path) throws`](/documentation/USDKit/USDPrim/InheritCollection/remove(_:))

Removes a specific inherit arc from the prim.

[`func set([USDLayer.Path]) throws`](/documentation/USDKit/USDPrim/InheritCollection/set(_:))

Replaces all inherit arcs with the specified list.

---

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)