init(layer:relationshipPath:variability:isCustom:)
Creates a relationship spec at the given path in the layer, authoring intermediate ancestor prim specs as overs where needed.
Declaration
init?(layer: USDLayer, relationshipPath: USDLayer.Path, variability: USDPrim.Property.Variability = .varying, isCustom: Bool = false)Parameters
- layer:
The layer that owns the new relationship.
- relationshipPath:
The full path of the relationship to author.
- variability:
The relationship’s variability.
- isCustom:
Whether the relationship is authored as
custom.