Contents

init(assetPath:primPath:layerOffset:customData:)

Creates a reference.

Declaration

init(assetPath: String? = nil, primPath: USDLayer.Path? = nil, layerOffset: USDLayer.TimeOffset = USDLayer.TimeOffset(), customData: Dictionary<String, USDValue> = [:])

Parameters

  • assetPath:

    The asset path to target. Pass nil for an internal reference (pointing within the same layer stack).

  • primPath:

    The prim path within the referenced asset. Pass nil to use the asset’s default prim.

  • layerOffset:

    The time transformation applied during composition.

  • customData:

    Custom data dictionary attached to the reference.