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

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

Returns a new Euler angles structure from three angle structures.

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

## Discussion

- Parameter x The first angle.
- Parameter y The second angle.
- Parameter z The third angle.
- Parameter order The Euler angle ordering.

---

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)