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
nilfor an internal reference (pointing within the same layer stack). - primPath:
The prim path within the referenced asset. Pass
nilto use the asset’s default prim. - layerOffset:
The time transformation applied during composition.
- customData:
Custom data dictionary attached to the reference.