文档

Unity Engine

Unity Engine

rotation

The direction of the SceneView.camera to the SceneView.pivot of the SceneView.
阅读时间1 分钟最后更新于 1 个月前

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.