Contents

motionTransformType

Sets the type of motion transforms, either as a matrix or individual components.

Declaration

var motionTransformType: MTLTransformType { get set }

Discussion

Defaults to MTLTransformTypePackedFloat4x3. Using a MTLTransformTypeComponent allows you to represent the rotation by a quaternion (instead as of part of the matrix), allowing for correct motion interpolation.