11 KiB
order, title, type, group, label
| order | title | type | group | label |
|---|---|---|---|---|
| 6 | Viewport | Basics | Interface | Basics/Interface |
Introduction
The viewport window is an interactive interface used to select, position, and change various types of entities and components in the current scene.
Browsing the Scene
There are two ways to browse the scene: standard mode and flight mode. Standard mode rotates around the center viewpoint, while flight mode is suitable for browsing large scenes, where the scene camera moves forward, backward, left, right, up, and down in three-dimensional space.
| Mode | Operation | Shortcut Key |
|---|---|---|
| Standard Mode | Orbit | alt + left mouse button |
| Pan | alt + command + left mouse button, or press the mouse wheel |
|
| Zoom | alt + control + left mouse button, or scroll the mouse wheel, or swipe with two fingers on the touchpad |
|
| Flight Mode | Look around | alt + right mouse button |
| Move forward | Up arrow key, or right mouse button + W |
|
| Move backward | Down arrow key, or right mouse button + S |
|
| Move left | Left arrow key, or right mouse button + A |
|
| Move right | Right arrow key, or right mouse button + D |
|
| Move up | Right mouse button + E |
|
| Move down | Right mouse button + Q |
|
| Change flight speed | Right mouse button + mouse wheel |
Toolbar
The toolbar is located at the top of the viewport window. Hovering the mouse over each item will display its shortcut key or description.
Auxiliary Elements Settings Interface
Scene Camera Settings Interface
| Attribute | Content | Default Value |
|---|---|---|
| Fov | The field of view of the scene camera | 60 |
| Dynamic Clipping | Automatically calculate the near and far clipping planes of the scene camera relative to the selected entity and the scene camera position | Off |
| Near Plane | Manually adjust the nearest point relative to the scene camera | Enabled when dynamic clipping is unchecked |
| Far Plane | Manually adjust the farthest point relative to the scene camera | Enabled when dynamic clipping is unchecked |
| Speed | The movement speed of the camera in flight mode | 10 |
| Opaque Texture | Enable opaque texture for the scene camera | Off |
| HDR | Enable HDR for the scene camera | Off |
| Post Process | Enable post-processing for the scene camera | On |
Preview
When an entity with a camera component is selected, a real-time preview of the camera will be displayed in the lower left corner of the view window. This helps users to adjust the camera and scene position in real-time. The preview window can be dragged, locked, and switched to different device aspect ratios.
| Attribute | Content |
|---|---|
| Drag | Freely drag the preview window |
| Position | Position the camera in the scene |
| Switch Ratio | Switch windows of different devices and ratios |
| Lock | Lock the camera preview window |
In the hierarchy tree, objects containing camera components can directly synchronize the relevant properties of the scene camera in the view, making it convenient to adjust the position and perspective.
















