<!--
{
  "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/Rotation3D/init(eulerAngles:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPRotation3DMakeWithEulerAngles#$@SA@SPEulerAngles#"
  },
  "title" : "init(eulerAngles:)"
}
-->

# init(eulerAngles:)

Creates a rotation structure with the specified Euler angles.

```
init(eulerAngles: EulerAngles)
```

## Parameters

`eulerAngles`

A structure that specifies the order and values of the Euler angles.

---

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)