One Logo Pool Ball
USDKit · IOS API REFERENCE

USDLayer.TimeOffset

struct · iOS 27.0+ · SDK 27.1

struct TimeOffset

A time transformation applied when composing layers. Consists of an offset (time shift) and a scale factor. Used in references and payloads to remap animation timing from a referenced layer into the referencing layer's timeline.

Members (7)

get · iOS 27.0+

isIdentity

TypeScript
get isIdentity(): boolean
Swift declaration
var isIdentity: Bool { get }

Whether this offset has no effect (`offset == 0`, `scale == 1`).

get · iOS 27.0+

scale

TypeScript
get scale(): number
Swift declaration
var scale: Double { get set }

The scale factor applied during composition.

set · iOS 27.0+

scale

TypeScript
set scale(value: number)
Swift declaration
var scale: Double { get set }

The scale factor applied during composition.

init · iOS 27.0+

init

TypeScript
static init(offset?: number, scale?: number): USDLayer_TimeOffset
Swift declaration
init(offset: Double = 0.0, scale: Double = 1.0)

Creates a time offset with the given shift and scale. - Parameters: - offset: The time shift applied during composition. - scale: The scale factor applied during composition.

get · iOS 27.0+

offset

TypeScript
get offset(): number
Swift declaration
var offset: Double { get set }

The time shift applied during composition.

set · iOS 27.0+

offset

TypeScript
set offset(value: number)
Swift declaration
var offset: Double { get set }

The time shift applied during composition.

get · iOS 27.0+

isValid

TypeScript
get isValid(): boolean
Swift declaration
var isValid: Bool { get }

Whether both `offset` and `scale` are finite (not NaN or infinite).

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →