<!--
{
  "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(angle:axis:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPRotation3DMake#$@SA@SPAngle#$@UA@SPRotationAxis3D#"
  },
  "title" : "init(angle:axis:)"
}
-->

# init(angle:axis:)

Creates a rotation structure with the specified axis and the specified angle from Spatial structures.

```
init(angle: Angle2D, axis: RotationAxis3D)
```

## Parameters

`angle`

The rotation angle.

`axis`

The rotation axis.

---

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)