---
title: "twist(twistAxis:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rotation3dfloat/twist(twistaxis:)"
---

# twist(twistAxis:)

## Declaration

```swift
func twist(twistAxis: RotationAxis3DFloat) -> Rotation3DFloat
```

## Parameters

- `twistAxis`: The twist axis.

## Return Value

Return Value The twist component of the rotation’s swing-twist decomposition for a given twist axis.

## Discussion

Discussion Returns the twist component of the rotation’s swing-twist decomposition for a given twist axis.
