Camera
Use the camera to capture and display the scene from a specific viewpoint.
Read time 2 minutesLast updated 16 hours ago
You can view the camera's angle and framing in the Camera Preview panel. You can't delete the camera, as it's required for your application to work.
Camera properties
Select the camera in the Scene view or Hierarchy panel to adjust its properties in the Inspector panel:Property | Description |
|---|---|
| Hide Skybox | Hide or display the skybox. This might be a background image or the surrounding environment. |
| Projection | Select the projection type:
|
| Field of View | Adjust the camera's view angle. This setting is available only when Projection is Perspective. |
| Size | Adjust the size of the camera view. This setting is available only when Projection is Isometric. |
| Render Distance | Control how far from the camera objects are drawn. Increase to see distant objects, decrease to hide far-away details. |
| Align with View | Set the camera's position and rotation to match your current Scene view. For more information, refer to Match the Scene view. |
| Align View to camera | Move the Scene view to match the selected camera's position and rotation. For more information, refer to Match the camera's transform. |
Change the camera view
You can move the camera around the scene in the same way you move GameObjects. However, the Camera component also includes two alignment actions that help you quickly match the camera's view to the Scene view, and the Scene view to the camera's transform. These help you position and frame shots precisely.Match the Scene view
To set the camera's position and rotation to match your current Scene view:- In the Scene view, set your view to your desired composition.
- In the Hierarchy, select the camera to open the Camera component's Inspector window.
- Select Align with View.
Match the camera's transform
To move the Scene view to match the selected camera's position and rotation:- In the Hierarchy, select the camera to open the Camera component's Inspector window.
- Select Align View to camera.