init(owner:name:variability:isCustom:)
Creates a new relationship spec under the given prim spec.
Declaration
init?(owner: USDPrim.Spec, name: USDToken, variability: USDPrim.Property.Variability = .varying, isCustom: Bool = true)Parameters
- owner:
The prim spec that owns the new relationship.
- name:
The relationship’s name.
- variability:
The relationship’s variability.
- isCustom:
Whether the relationship is authored as
custom.