文档

Unity Engine

Unity Engine

rotation

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

Definition

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.