<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/EulerAngles/init(angles:order:)-44rv1",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So13SPEulerAnglesa7SpatialE6angles5orderABs5SIMD3VySfG_So0A10AngleOrderatcfc"
  },
  "title" : "init(angles:order:)"
}
-->

# init(angles:order:)

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

```
init(angles: simd_float3, order: EulerAngles.Order)
```

## Parameters

`angles`

A three-element, single-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)