5#ifndef SCENEENTITYVIEWER_H
6#define SCENEENTITYVIEWER_H
18 void selectEntity(entt::entity entity,
const std::string& trunkName =
"",
bool isGlobal =
false);
32 void createEntity(
Scene* scene,
const std::string& name,
const std::string& trunkName =
"",
bool isGlobal =
true);
33 void addStaticMeshComponent(entt::entity entity,
const std::string& modelUuid,
const std::string& meshName,
bool isGlobal,
const std::string& trunkName =
"");
34 void addScriptComponent(entt::entity entity,
const std::string& functionName,
bool isGlobal,
const std::string& trunkName =
"");
35 void addDiffuseTextureComponent(entt::entity entity,
const std::string& modelUuid,
const std::string& texturePath,
bool isGlobal,
const std::string& trunkName =
"");
A header file containing third party libraries and macros for platform
void selectEntity(entt::entity entity, const std::string &trunkName="", bool isGlobal=false)
定义 SceneEntityViewer.cpp:315
char m_newEntityName[256]
定义 SceneEntityViewer.h:23
void renderSceneEntityList(Scene *scene)
定义 SceneEntityViewer.cpp:252
bool m_showContextMenu
定义 SceneEntityViewer.h:27
void renderCreateEntityDialog(Scene *scene)
定义 SceneEntityViewer.cpp:25
void addDiffuseTextureComponent(entt::entity entity, const std::string &modelUuid, const std::string &texturePath, bool isGlobal, const std::string &trunkName="")
定义 SceneEntityViewer.cpp:371
void render()
定义 SceneEntityViewer.cpp:290
bool m_createInGlobal
定义 SceneEntityViewer.h:25
void createEntity(Scene *scene, const std::string &name, const std::string &trunkName="", bool isGlobal=true)
定义 SceneEntityViewer.cpp:74
void addScriptComponent(entt::entity entity, const std::string &functionName, bool isGlobal, const std::string &trunkName="")
定义 SceneEntityViewer.cpp:348
void showCreateEntityDialog(const std::string &targetTrunk="", bool isGlobal=true)
定义 SceneEntityViewer.cpp:17
void renderGloabaEntityList(Scene *scene)
定义 SceneEntityViewer.cpp:104
DataManager * m_dataManager
定义 SceneEntityViewer.h:20
void renderTrunkEntityList(Scene *scene, std::string trunkName)
定义 SceneEntityViewer.cpp:177
std::string m_targetTrunkName
定义 SceneEntityViewer.h:24
bool m_showCreateEntityDialog
定义 SceneEntityViewer.h:22
std::string m_contextMenuTarget
定义 SceneEntityViewer.h:28
SceneEntityViewer()
定义 SceneEntityViewer.cpp:13
void addStaticMeshComponent(entt::entity entity, const std::string &modelUuid, const std::string &meshName, bool isGlobal, const std::string &trunkName="")
定义 SceneEntityViewer.cpp:323