rotation
The direction of the SceneView.camera to the SceneView.pivot of the SceneView.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public Quaternion rotation { get; set; }
Remarks
Changes the Scene view direction. Use with pivot, size, and CameraSettings.fieldOfView to calculate camera transformation. Use the camera SceneView.LookAt to animate the transition.