Instance Property

minimumTime

The timestamp for the first timed data sample in the transform component.

Required.

Declaration

var minimumTime: TimeInterval { get }

Discussion

Timed data is clamped to the minimum and maximum times. If you request transform data for a time sample before the minimum time, Model I/O returns the transform at the minimum time.

If the transform component does not contain timed information, this property’s value is zero.

See Also

Working with Animated Transforms

var maximumTime: TimeInterval

The timestamp for the last timed data sample in the transform component.

Required.

func localTransform(atTime: TimeInterval) -> matrix_float4x4

Returns the local transform matrix as of the specified time sample.

func setLocalTransform(matrix_float4x4, forTime: TimeInterval)

Sets a new local transform matrix for the specified time sample.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software