Version: 2023.2
Scene 视图摄像机
Pick and select GameObjects

Control a camera in first person

Navigate through the Scene view while you look through a camera. In first-person, work through the lens of a camera to better frame your shots.

You can use the Cameras overlay to select and take first-person control of a GameObject that has a Camera or Cinemachine camera component attached to it.

While you control a camera, you can use Editor tools as you do when you use the Scene Camera. For example, select a GameObject and press the F key to frame the camera on a specific GameObject. You can also adjust the position, orientation, and scale of a GameObject while you look through a camera to change the composition of your shot.

You can adjust the overscan of cameras you directly control with the Cameras overlay. Use overscan to intentionally see more or less of the Scene in the camera’s view than what the final output of the camera produces.

The Cameras overlay supports Timeline and Animation camera path authoring and Animated cameras. Control a camera in first person to animate cameras and generate keyframes for their GameObjects.

To control a camera in the first-person view:

  1. Press ` to open the Overlays menu.
  2. In the Overlays menu, enable the Cameras overlay.
  3. In the Cameras overlay dropdown list, select a camera you want to control in first person.
  4. Select Control selected camera in first person.
  5. To adjust overscan size and opacity, select Configure overscan settings and do the following:
    • To select a size for the view guide, enter a value for Overscan or use the scroll wheel on your mouse. 1 is the default value. Enter a value greater than 1 to see more than the camera frustrum. Enter a value below 1 to zoom in and see less than the camera frustrum.
    • To adjust how opaque the view guide is, enter a value for Overscan Opacity.
  6. Use the Scene view navigation controls to move the camera through the scene.
  7. To exit the camera view, in the Cameras overlay, select Return to Scene Camera.

其他资源

Scene 视图摄像机
Pick and select GameObjects
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961