Contents

makeRelationship(named:custom:)

Creates a relationship with the given name on this prim, or returns the existing relationship if one already exists.

Declaration

@discardableResult func makeRelationship(named name: USDToken, custom: Bool = true) -> USDPrim.Relationship

Parameters

  • name:

    The name of the relationship to create.

  • custom:

    A Boolean value that indicates whether the relationship is a custom relationship not defined by a schema.

Return Value

The relationship with the given name.