Instance Method

setLocalTransform(_:)

Sets a new static transform matrix, overriding any time-based transform information.

Declaration

optional func setLocalTransform(_ transform: matrix_float4x4)

Parameters

transform

A new static transform matrix.

Discussion

Calling this method sets both the minimumTime and maximumTime properties to zero.

See Also

Working with Static Transforms

var matrix: matrix_float4x4

The transform matrix that defines the local coordinate space relative to a parent coordinate space.

Required.

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