<!--
{
  "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/ReferenceCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV19ReferenceCollectionV"
  },
  "title" : "USDPrim.ReferenceCollection"
}
-->

# USDPrim.ReferenceCollection

Manages reference composition arcs on a prim.

```
struct ReferenceCollection
```

## Topics

### Instance Properties

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

The prim that owns these reference arcs.

### Instance Methods

[`func add(USDPrim.Reference, position: USDPrim.ListPosition) throws`](/documentation/USDKit/USDPrim/ReferenceCollection/add(_:position:))

Adds an existing reference arc to the prim.

[`func add(to: USDLayer.Path?, from: String, layerOffset: USDLayer.TimeOffset, position: USDPrim.ListPosition) throws`](/documentation/USDKit/USDPrim/ReferenceCollection/add(to:from:layerOffset:position:))

Adds an external reference arc.

[`func add(to: USDLayer.Path, layerOffset: USDLayer.TimeOffset, position: USDPrim.ListPosition) throws`](/documentation/USDKit/USDPrim/ReferenceCollection/add(to:layerOffset:position:))

Adds an internal reference arc that targets a prim in the same layer stack.

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

Removes all reference arcs from the prim.

[`func remove(USDPrim.Reference) throws`](/documentation/USDKit/USDPrim/ReferenceCollection/remove(_:))

Removes a specific reference arc from the prim.

[`func set([USDPrim.Reference]) throws`](/documentation/USDKit/USDPrim/ReferenceCollection/set(_:))

Replaces all reference 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)