#include <SceneEntityViewer.h>
|
void | renderCreateEntityDialog (Scene *scene) |
void | showCreateEntityDialog (const std::string &targetTrunk="", bool isGlobal=true) |
void | createEntity (Scene *scene, const std::string &name, const std::string &trunkName="", bool isGlobal=true) |
void | addStaticMeshComponent (entt::entity entity, const std::string &modelUuid, const std::string &meshName, bool isGlobal, const std::string &trunkName="") |
void | addScriptComponent (entt::entity entity, const std::string &functionName, bool isGlobal, const std::string &trunkName="") |
void | addDiffuseTextureComponent (entt::entity entity, const std::string &modelUuid, const std::string &texturePath, bool isGlobal, const std::string &trunkName="") |
◆ SceneEntityViewer()
MQEngine::SceneEntityViewer::SceneEntityViewer |
( |
| ) |
|
◆ addDiffuseTextureComponent()
void MQEngine::SceneEntityViewer::addDiffuseTextureComponent |
( |
entt::entity | entity, |
|
|
const std::string & | modelUuid, |
|
|
const std::string & | texturePath, |
|
|
bool | isGlobal, |
|
|
const std::string & | trunkName = "" ) |
|
private |
◆ addScriptComponent()
void MQEngine::SceneEntityViewer::addScriptComponent |
( |
entt::entity | entity, |
|
|
const std::string & | functionName, |
|
|
bool | isGlobal, |
|
|
const std::string & | trunkName = "" ) |
|
private |
◆ addStaticMeshComponent()
void MQEngine::SceneEntityViewer::addStaticMeshComponent |
( |
entt::entity | entity, |
|
|
const std::string & | modelUuid, |
|
|
const std::string & | meshName, |
|
|
bool | isGlobal, |
|
|
const std::string & | trunkName = "" ) |
|
private |
◆ createEntity()
void MQEngine::SceneEntityViewer::createEntity |
( |
Scene * | scene, |
|
|
const std::string & | name, |
|
|
const std::string & | trunkName = "", |
|
|
bool | isGlobal = true ) |
|
private |
◆ render()
void MQEngine::SceneEntityViewer::render |
( |
| ) |
|
◆ renderCreateEntityDialog()
void MQEngine::SceneEntityViewer::renderCreateEntityDialog |
( |
Scene * | scene | ) |
|
|
private |
◆ renderGloabaEntityList()
void MQEngine::SceneEntityViewer::renderGloabaEntityList |
( |
Scene * | scene | ) |
|
◆ renderSceneEntityList()
void MQEngine::SceneEntityViewer::renderSceneEntityList |
( |
Scene * | scene | ) |
|
◆ renderTrunkEntityList()
void MQEngine::SceneEntityViewer::renderTrunkEntityList |
( |
Scene * | scene, |
|
|
std::string | trunkName ) |
◆ selectEntity()
void MQEngine::SceneEntityViewer::selectEntity |
( |
entt::entity | entity, |
|
|
const std::string & | trunkName = "", |
|
|
bool | isGlobal = false ) |
◆ showCreateEntityDialog()
void MQEngine::SceneEntityViewer::showCreateEntityDialog |
( |
const std::string & | targetTrunk = "", |
|
|
bool | isGlobal = true ) |
|
private |
◆ m_contextMenuTarget
std::string MQEngine::SceneEntityViewer::m_contextMenuTarget |
|
private |
◆ m_createInGlobal
bool MQEngine::SceneEntityViewer::m_createInGlobal = true |
|
private |
◆ m_dataManager
DataManager* MQEngine::SceneEntityViewer::m_dataManager |
|
private |
◆ m_newEntityName
char MQEngine::SceneEntityViewer::m_newEntityName[256] = "entity" |
|
private |
◆ m_showContextMenu
bool MQEngine::SceneEntityViewer::m_showContextMenu = false |
|
private |
◆ m_showCreateEntityDialog
bool MQEngine::SceneEntityViewer::m_showCreateEntityDialog = false |
|
private |
◆ m_targetTrunkName
std::string MQEngine::SceneEntityViewer::m_targetTrunkName |
|
private |
该类的文档由以下文件生成: