---
title: "rotated(by:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rotatable3d/rotated(by:)-4gdqe"
---

# rotated(by:)

Returns the entity that a quaternion rotates.

## Declaration

```swift
func rotated(by quaternion: simd_quatd) -> Self
```

## See Also

### Instance methods

- [rotate(by:)](spatial/rotatable3d/rotate(by:)-usrg.md)
- [rotate(by:)](spatial/rotatable3d/rotate(by:)-1g3rl.md)
- [rotated(by:)](spatial/rotatable3d/rotated(by:)-7bx4w.md)
