<!--
{
  "documentType" : "article",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Vector3D/Rotatable3DProtocol-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Rotatable3DProtocol Implementations"
}
-->

# Rotatable3DProtocol Implementations

## Topics

### Instance Methods

[`func rotated(by: Rotation3D) -> Vector3D`](/documentation/Spatial/Vector3D/rotated(by:)-2gcq4)

Returns the vector rotated by the specified rotation around the origin.

[`func rotated(by: simd_quatd) -> Vector3D`](/documentation/Spatial/Vector3D/rotated(by:)-8bwna)

Returns the vector rotated by the specified quaternion around the origin.

---

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)