Inno.Editor.Panel.Hierarchy
Section titled “Inno.Editor.Panel.Hierarchy”
- Scene/object hierarchy presentation, typed drop geometry and domain-owned reversible actions.
Scene/object hierarchy presentation, typed drop geometry and domain-owned reversible actions.
Use the current scene workspace
Section titled “Use the current scene workspace”Hierarchy tasks explain additive scene navigation, renaming, reordering, cross-scene moves, persistence and Play behavior. The panel delegates reversible changes to SceneEdits and does not implement its own snapshots or undo.
The selected public drop targets are borrowed for the current synchronous request. Do not retain them across a frame, generation or History payload. Actions use the existing interaction area and actual target type; active-scene navigation is not a content History entry.
Presentation ownership
Section titled “Presentation ownership”Internal HierarchyStyle owns row spacing, rename/drop geometry and inactive color. Visible row caches contain runtime identity/depth and follow hierarchy revision/expansion, not strong references to obsolete scene objects. Shared tree controls provide current-frame geometry, one scroll coordinate system and foreground overlays. Settings supplies the same scene/object icon values used by assets and Inspector; no second resolver or icon constants are introduced.
Host examples
Section titled “Host examples”These use the actual host contracts and borrowed live dependencies. They do not initialize a product or establish lifecycle/device acceptance.
using Inno.Editor.Interactions;using Inno.Editor.Scene;using Inno.Scene;
[EditorAction("sample/scene/activate", "panel/scene.hierarchy")][EditorMenu("panel/scene.hierarchy", "Set Active Scene", order: 500)]public sealed class ActivateSceneAction : EditorAction<GameScene>{ private readonly IEditorSceneWorkspace m_workspace;
public ActivateSceneAction(IEditorSceneWorkspace workspace) => m_workspace = workspace;
protected override void Execute(EditorActionContext<GameScene> context) => m_workspace.SetActiveScene(context.target);}Source boundary
Section titled “Source boundary”Source project. Declarations, script selection and runtime behavior require separate matching evidence.
API reference
Section titled “API reference”Types and exact member contracts retain the engine-owned declarations and captured XML.
Logical script references
Section titled “Logical script references”The compiler-selected script declarations are separate from this project’s host CLR surface. Read the script calling guide and the associated module contracts before using a projected member.
Source project facts
Section titled “Source project facts”Project: Inno.Editor.Panel.Hierarchy
Source: src/composition/editor/panels/Inno.Editor.Panel.Hierarchy/Inno.Editor.Panel.Hierarchy.csproj
| Type | API | Description |
|---|---|---|
| HierarchyObjectDropTarget | engine | Identifies a game object hierarchy drop target. |
| HierarchySceneDropTarget | engine | Identifies a scene row or scene root hierarchy drop target. |
| HierarchyObjectDropTarget | Editor | Identifies a game object hierarchy drop target. |
| HierarchySceneDropTarget | Editor | Identifies a scene row or scene root hierarchy drop target. |