The instant directly before the given time value.
If a time-varying value is discontinuous at `instant`, pre-time refers to the
value's limit approaching from the left.
Creates an instance initialized to the specified floating-point value.
Do not call this initializer directly. Instead, initialize a variable or
constant using a floating-point literal. For example:
let x = 21.5
In this example, the assignment to the `x` constant calls this
floating-point literal initializer behind the scenes.
- Parameter value: The value to create.
get · iOS 27.0+
value
TypeScript
get value(): (number) | null
Swift declaration
var value: Double? { get }
The numeric value of this time code, or `nil` if it is the default time code.
get · iOS 27.0+
default
TypeScript
static get default(): USDStage_TimeCode
Swift declaration
static var `default`: USDStage.TimeCode { get }
The time code used to author and read values that do not vary over time.
get · iOS 27.0+
earliest
TypeScript
static get earliest(): USDStage_TimeCode
Swift declaration
static var earliest: USDStage.TimeCode { get }
A sentinel time code that resolves to the earliest authored sample of a value.
static · iOS 27.0+
safeStep
TypeScript
static safeStep(maxValue?: number, maxCompression?: number): number
Returns a time delta small enough to represent a jump discontinuity, but
large enough to survive scaling and shifting without collapsing to zero.
Use it to author paired samples at `t` and `t + SafeStep()` that stay
distinct for any `t` in [-maxValue, maxValue] under compression up to
`maxCompression`.
Equivalent to: `epsilon * maxValue * maxCompression * 2`.