# rotation

> The direction of the SceneView.camera to the SceneView.pivot of the SceneView.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public Quaternion rotation { get; set; }
```

### Remarks

Changes the Scene view direction. Use with [pivot](/engine/6000.6/script-reference/unityeditor/sceneview/pivot.md), [size](/engine/6000.6/script-reference/unityeditor/sceneview/size.md), and [CameraSettings.fieldOfView](/engine/6000.6/script-reference/unityeditor/sceneview/camerasettings/fieldofview.md)  to calculate camera transformation. Use the camera [SceneView.LookAt](/engine/6000.6/script-reference/unityeditor/sceneview/lookat.md) to animate the transition.
