<!--
{
  "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/Rotatable3D",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:7Spatial11Rotatable3DP"
  },
  "title" : "Rotatable3D"
}
-->

# Rotatable3D

A set of methods that defines the interface to rotate Spatial entities.

```
protocol Rotatable3D
```

## Topics

### Instance methods

[`func rotate(by: simd_quatd)`](/documentation/Spatial/Rotatable3D/rotate(by:)-usrg)

Rotates the entity by a quaternion.

[`func rotate(by: Rotation3D)`](/documentation/Spatial/Rotatable3D/rotate(by:)-1g3rl)

Rotates the entity by an angle over an axis.

[`func rotated(by: simd_quatd) -> Self`](/documentation/Spatial/Rotatable3D/rotated(by:)-4gdqe)

Returns the entity that a quaternion rotates.

[`func rotated(by: Rotation3D) -> Self`](/documentation/Spatial/Rotatable3D/rotated(by:)-7bx4w)

Returns the entity that results from applying the specified rotation.

## Relationships

### Conforming Types

[`Vector3D`](/documentation/Spatial/Vector3D)

[`AffineTransform3D`](/documentation/Spatial/AffineTransform3D)

[`ProjectiveTransform3D`](/documentation/Spatial/ProjectiveTransform3D)

[`Point3D`](/documentation/Spatial/Point3D)

[`Rotation3D`](/documentation/Spatial/Rotation3D)

[`Size3D`](/documentation/Spatial/Size3D)

[`Pose3D`](/documentation/Spatial/Pose3D)

[`Ray3D`](/documentation/Spatial/Ray3D)

[`ScaledPose3D`](/documentation/Spatial/ScaledPose3D)

[`Rect3D`](/documentation/Spatial/Rect3D)

---

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)