기술 자료

Unity Engine

Unity Engine

rotation

The direction of the SceneView.camera to the SceneView.pivot of the SceneView.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.