<!--
{
  "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/init(angles:order:)-93mu1",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So13SPEulerAnglesa6angles5orderABs5SIMD3VySdG_So0A10AngleOrderatcfc"
  },
  "title" : "init(angles:order:)"
}
-->

# init(angles:order:)

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

```
init(angles: simd_double3, order: __SPEulerAngleOrder)
```

## Parameters

`angles`

A three-element, double-precision vector that specifies the Euler angles.

`order`

The Euler angle order.

## Discussion

> Note: In Swift, use [``EulerAngles.Order``](https://developer.apple.com/documentation/spatial/eulerangles/order-swift.typealias) in place of `__SPEulerAngleOrder`.

---

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)