Scene Panel

scene

The Scene panel is the central work area for content creation, used for selecting and placing scene images, characters, effects, UI, and other game elements. This workspace allows to select and modify the position, rotation, and scaling of nodes with the Transform Gizmos, and get a WYSIWYG scene preview.

View Introduction

The Scene panel includes two views, 3D and 2D. The 3D view is used for 3D scene editing, while the 2D view is mainly used for editing 2D elements such as UI nodes, etc. The scene view can be switched via the 3D/2D button in the toolbar at the top left of the editor.

3D view

In the 3D view, you can move and position the view of the Scene panel by the following actions:

  • Left mouse button + Alt: rotates the view centered on its center point.
  • Middle mouse button: pans the view.
  • Mouse wheel: zoom the view centered on the view center point.
  • Right mouse button + WASD: camera roaming.
  • F Shortcut: focus the camera on the currently selected node.

2D view

In 2D view, the view of the Scene panel can be moved and positioned by the following actions:

  • Middle mouse button: pans the view.
  • Mouse wheel: zooms the view centered on the current mouse hover position.
  • Right mouse button: pans the view.
  • F Shortcut: focus the camera on the currently selected node.

Scene settings

The options in the top right corner of the Scene panel can be used to set the reference image, grid, camera parameters, etc. of the scene. Please refer to the description below for details.

Reference image settings

Click on the scene reference button in the top right corner of the Scene panel to open the Reference Image panel, which is primarily used as a cross-reference for developers when stitching together UI in the Scene panel.

reference

Option Description
Add Used to add UI reference images. Multiple reference images can be added.
Delete Used to remove the UI reference image from the currently selected box.
X The X-axis position of the selected UI reference image displayed in the scene.
Y The Y-axis position of the selected UI reference image displayed in the scene.
Opacity Opacity of the selected UI reference image displayed in the scene.

Grid settings

The grid in the scene is an important reference for the position of the scene elements when we place them, and can be set via the button on the top right of the Scene panel.

Gizmo

Option Description
3D Icons Whether to enable the 3D icon for the scene, the input box after it is used to set the size of the icon gizmo, the value range is 0 ~ 8.
If this option is checked, the 3D icon will be enabled and the icon gizmo in the Scene panel will be a 3D slice with a foreshortening effect.
If this option is unchecked, the icon gizmo will be displayed as a fixed size image.
Show Grid Whether to display the grid in the Scene panel, with the color setting box behind it used to set the color of the grid.

Scene camera settings

Click the set camera button in the upper-right corner of the Scene panel to set the properties of the scene camera (not the user-created camera):

scene camera

Option Description
Fov Set the field of view of the scene camera.
Far Set the far clipping distance of the scene camera.
Near Set the near clipping distance of the scene camera.
Color Set the scene background color.
Wheel Speed Set the speed at which the scene camera moves back and forth when the mouse wheel is scrolled.
Wander Speed Set the movement speed when the scene camera is roaming.

Render target resolution settings

The render output target resolution of the scene camera can be selected in the upper right corner of the Scene panel as needed, which will affect the visual range of the scene camera, and facilitate a similar display to the resolution selected in the final preview:

scene resolution

Resolutions can be added/modified/deleted in Device manager of the Preferences on the top menu bar.

For descriptions about the visual range of the camera, please refer to the Camera component documentation.

Scene Gizmo

The Scene Gizmo is in the upper right corner of the scene view. It shows the current viewing direction of the scene camera and can be clicked to quickly switch between different viewing angles.

Scene Gizmo

  • Click on the 6 directional axes to quickly switch to the top, bottom, left, right, front, and back angles to view the scene.
  • Click the center cube to switch between orthogonal view and perspective view.

Select node

Click the left mouse button in the scene view to select the node where the object is located. Selecting the node is a prerequisite for using transform gizmos to set the node position, rotation, scaling, etc.

Gizmo operation introduction

The core function of Scene panel is to edit and arrange the visible elements in the scene in a WYSIWYG way. Gizmos are mainly used to assist in the visual editing of the scene.

results matching ""

    No results matching ""