<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/EulerAngles/init(x:y:z:order:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So13SPEulerAnglesa7SpatialE1x1y1z5orderABSo7SPAnglea_A2ISo0A10AngleOrderatcfc"
  },
  "title" : "init(x:y:z:order:)"
}
-->

# init(x:y:z:order:)

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

```
init(x: Angle2D, y: Angle2D, z: Angle2D, order: EulerAngles.Order)
```

## Parameters

`x`

The first angle.

`y`

The second angle.

`z`

The third angle.

`order`

The Euler angle order.

---

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)