---
title: "eulerAngles(order:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rotation3d/eulerangles(order:)"
---

# eulerAngles(order:)

Returns a rotation’s Euler angles.

## Declaration

```swift
func eulerAngles(order: __SPEulerAngleOrder) -> EulerAngles
```

## Parameters

- `order`: The Euler angle ordering.

## Return Value

Return Value A structure that represents Euler angles and ordering.

## Discussion

Discussion note: In Swift, use EulerAngles.Order in place of __SPEulerAngleOrder.

## See Also

### Inspecting a 3D rotation’s properties

- [angle](spatial/rotation3d/angle.md)
- [axis](spatial/rotation3d/axis.md)
- [EulerAngles](spatial/eulerangles.md)
- [quaternion](spatial/rotation3d/quaternion.md)
- [vector](spatial/rotation3d/vector.md)
