文档

Unity Engine

Unity Engine

pivot

The central point that the camera orbits within the Scene view.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Vector3 pivot { get; set; }

Remarks

Use with size, rotation, and CameraSettings.fieldOfView to calculate camera transformation. To create a smooth animation, use the camera SceneView.LookAt.