MQEngine
载入中...
搜索中...
未找到
Global.h
浏览该文件的文档.
1//
2// Created by Administrator on 2025/8/18.
3//
4
5#ifndef GLOBAL_H
6#define GLOBAL_H
7#include "../Thirdparty/thirdparty.h"
8
9namespace MQEngine
10{
12}
13
14namespace MQEngine{
16 {
17 Scene* scene = nullptr;
18 std::string trunkName;
19 entt::entity entity = entt::null;
20 bool isGlobal = false;
21 };
22
24 {
25 FCT::Window* wnd;
26 FCT::Context* ctx;
27 FCT::ImguiModule* imguiModule;
30 FCT::Runtime* rt;
31 entt::registry* editorRegistry;
32 FCT::ImguiContext* imguiContext;
34 entt::id_type componentToDelete = 0;
35 };
37}
38#endif //GLOBAL_H
定义 DataManager.h:58
定义 EditorCameraManager.h:9
定义 Scene.h:22
定义 application.h:5
EditorGlobal g_editorGlobal
定义 EditorApplication.cpp:4
定义 Global.h:24
FCT::Runtime * rt
定义 Global.h:30
SelectedEntityState selectedEntity
定义 Global.h:33
entt::id_type componentToDelete
定义 Global.h:34
EditorCameraManager * cameraManager
定义 Global.h:29
FCT::Context * ctx
定义 Global.h:26
FCT::ImguiContext * imguiContext
定义 Global.h:32
entt::registry * editorRegistry
定义 Global.h:31
DataManager * dataManager
定义 Global.h:28
FCT::Window * wnd
定义 Global.h:25
FCT::ImguiModule * imguiModule
定义 Global.h:27
entt::entity entity
定义 Global.h:19
std::string trunkName
定义 Global.h:18
bool isGlobal
定义 Global.h:20
Scene * scene
定义 Global.h:17