---
title: "rotateBy(x:y:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scncameracontroller/rotateby(x:y:)"
---

# rotateBy(x:y:)

## Declaration

```swift
func rotateBy(x deltaX: Float, y deltaY: Float)
```
