<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/EulerAngles",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@SA@SPEulerAngles"
  },
  "title" : "EulerAngles"
}
-->

# EulerAngles

A vector that represents three Euler angles and specifies the angle ordering.

```
struct EulerAngles
```

## Topics

### Initializers

[`init()`](/documentation/Spatial/EulerAngles/init())

Creates a new Euler angles structure.

[`init(angles: simd_float3, order: EulerAngles.Order)`](/documentation/Spatial/EulerAngles/init(angles:order:)-44rv1)

Creates a new Euler angles structure from the specified single-precision angles and order.

[`init(angles: simd_double3, order: __SPEulerAngleOrder)`](/documentation/Spatial/EulerAngles/init(angles:order:)-93mu1)

Creates a new Euler angles structure from the specified double-precision angles and order.

[`init(x: Angle2D, y: Angle2D, z: Angle2D, order: EulerAngles.Order)`](/documentation/Spatial/EulerAngles/init(x:y:z:order:))

Creates a new Euler angles structure from the specified angle structures and order.

[`init(Angle2D, Angle2D, Angle2D, order: EulerAngles.Order)`](/documentation/Spatial/EulerAngles/init(_:_:_:order:))

Creates a new Euler angles structure from the specified angle structures and order.

### Instance properties

[`var angles: simd_double3`](/documentation/Spatial/EulerAngles/angles)

A three-element vector that specifies the Euler angles.

[`var order: __SPEulerAngleOrder`](/documentation/Spatial/EulerAngles/order-swift.property)

The Euler angle order.

[`var angles: simd_double3`](/documentation/Spatial/EulerAngles/angles)

A three-element vector that specifies the Euler angles.

[`var order: __SPEulerAngleOrder`](/documentation/Spatial/EulerAngles/order-swift.property)

The Euler angle order.

### Type aliases

### Supporting types

[`typealias Order`](/documentation/Spatial/EulerAngles/Order-swift.typealias)

A type that specifies the order of the angles.

[`typedef enum { ... } SPEulerAngleOrder;`](/documentation/Spatial/SPEulerAngleOrder)

Constants that describe the order of Euler angles.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)