The hierarchy panel is located on the far left side of the editor. It displays all the nodes in the current scene in a tree structure. The scene node is the parent node of all other nodes, including cameras, lights, meshes, etc.
In the hierarchy panel, you can:
You can add empty nodes or quickly add nodes with corresponding functional components, such as nodes with camera components, light source components, and basic 3D/2D rendering components.
You can click the "+" button in the hierarchy tree panel to add a node. Note that if you have a node selected, the added node will become a child node of the selected node; otherwise, it will default to being a child node of the scene:
After adding, you can edit the properties of the new node in the Inspector Panel.
To delete a node, you can use the following methods:
Deleting a node will delete the node and all its child nodes. So when deleting a node, you need to be aware of whether the deleted node will affect other nodes in the scene.
Copying a node will copy the selected node and all its child nodes, essentially calling the engine's clone capability.
After selecting a node, you can quickly clone the node at the same level by using Duplicated
.
You can also choose copy
and paste
separately to achieve cross-level copying.
Additionally, you can quickly copy the selected node using the shortcut key ⌘ + D.
To better organize nodes, you can sort nodes by dragging. After selecting a node, you can change its position in the hierarchy tree by dragging it with the left mouse button.
There is a search box at the top of the hierarchy panel where users can enter the name of a node to search for nodes in the scene. The search box supports fuzzy search, allowing you to enter part of the node's name to find it.
Each entity node has an eye button on the right side. Clicking it toggles the node's visibility in the scene.
Note that adjusting the node's visibility here only affects the workspace and not the
isActive
property in the Inspector Panel.
The following operations are effective only after selecting a node.
Operation | Shortcut |
---|---|
Delete Node | Backspace or Delete |
Copy Node | ⌘ + D |
Select Previous Node | ↑ |
Select Next Node | ↓ |
Expand Node | → |
Collapse Node | ← |
It looks like you haven't pasted the Markdown content yet. Please provide the content you need translated, and I'll help you with the translation while adhering to the specified rules.