---
title: motionTransformType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4indirectinstanceaccelerationstructuredescriptor/motiontransformtype
---

# motionTransformType

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

## Declaration

```swift
var motionTransformType: MTLTransformType { get set }
```

## Discussion

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.
