- App/editor: move 7 panels into panels/ (Editor core stays at root) - shaders/: group into pbr/ post/ debug/ env/ (runtime load paths updated) - Delete outdated duplicate Engine/src/Renderer/VulkanAssetUploader.h
22 lines
567 B
C++
22 lines
567 B
C++
//
|
||
// HierarchyPanel:实体层级树面板。
|
||
//
|
||
// 树形展示父子层级(UE Outliner)、点击选中、拖拽改父/拖到空白挂根
|
||
//(keepWorld)、右键 Create Child / Detach / Delete(级联随葬,帧尾
|
||
// flush,遍历安全)。每项尾缀显示组件构成徽标。
|
||
//
|
||
|
||
#ifndef HELLOVULKAN_HIERARCHYPANEL_H
|
||
#define HELLOVULKAN_HIERARCHYPANEL_H
|
||
|
||
#include "EditorContext.h"
|
||
|
||
#include <entt/entt.hpp>
|
||
|
||
class HierarchyPanel {
|
||
public:
|
||
void Draw(const EditorContext& ctx, entt::entity& selected);
|
||
};
|
||
|
||
#endif //HELLOVULKAN_HIERARCHYPANEL_H
|