Contents

setLocalTransform(_:forTime:)

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

Declaration

optional func setLocalTransform(_ transform: matrix_float4x4, forTime time: TimeInterval)

Parameters

  • transform:

    The local transformation matrix for the specified time sample.

  • time:

    The time sample with which to associate transform information.

Discussion

Calling this method updates the minimumTime and maximumTime properties to reflect the range of sample values stored in the transform component.

See Also

Working with Animated Transforms