---
title: rotation
framework: spatial
role: symbol
role_heading: Instance Property
path: spatial/affinetransform3d/rotation
---

# rotation

The affine transform’s rotation.

## Declaration

```swift
var rotation: Rotation3D? { get }
```

## See Also

### Decomposing a 3D affine transform

- [scale](spatial/affinetransform3d/scale.md)
- [translation](spatial/affinetransform3d/translation.md)
