Instance Method

setLocalTransform:forTime:

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

Declaration

- (void)setLocalTransform:(matrix_float4x4)transform forTime:(NSTimeInterval)time;

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

minimumTime

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

Required.

maximumTime

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

Required.

- localTransformAtTime:

Returns the local transform matrix as of 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