layerOffset
TypeScriptget layerOffset(): USDLayer_TimeOffsetSwift declarationvar layerOffset: USDLayer.TimeOffset { get set }Time-axis remap applied to the payload's animation.
struct · iOS 27.0+ · SDK 27.1
struct PayloadA payload to an external asset. Payloads are similar to references but designed for deferred loading. Heavy assets like detailed geometry can be added as payloads and loaded on demand rather than at composition time.
get layerOffset(): USDLayer_TimeOffsetSwift declarationvar layerOffset: USDLayer.TimeOffset { get set }Time-axis remap applied to the payload's animation.
set layerOffset(value: USDLayer_TimeOffset)Swift declarationvar layerOffset: USDLayer.TimeOffset { get set }Time-axis remap applied to the payload's animation.
get primPath(): (USDLayer_Path) | nullSwift declarationvar primPath: USDLayer.Path? { get set }The target prim path within the referenced asset, or `nil` to use the asset's default prim.
set primPath(value: (USDLayer_Path) | null)Swift declarationvar primPath: USDLayer.Path? { get set }The target prim path within the referenced asset, or `nil` to use the asset's default prim.
static init(assetPath?: (string) | null, primPath?: (USDLayer_Path) | null, layerOffset?: USDLayer_TimeOffset): USDPrim_PayloadSwift declarationinit(assetPath: String? = nil, primPath: USDLayer.Path? = nil, layerOffset: USDLayer.TimeOffset = USDLayer.TimeOffset())Creates a payload. - Parameters: - assetPath: The asset path to target. Pass `nil` if not yet set. - primPath: The prim path within the referenced asset. Pass `nil` to use the asset's default prim. - layerOffset: The time transformation applied during composition.
get assetPath(): (string) | nullSwift declarationvar assetPath: String? { get set }The asset path the payload targets, or `nil` if not yet set.
set assetPath(value: (string) | null)Swift declarationvar assetPath: String? { get set }The asset path the payload targets, or `nil` if not yet set.
No declarations were skipped in this snapshot.