MCPcopy Create free account
hub / github.com/MyGUI/mygui / createObject

Method createObject

UnitTests/UnitTest_Layers/DemoKeeper.cpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void DemoKeeper::createObject()
123 {
124#ifdef MYGUI_OGRE_PLATFORM
125 Ogre::Entity* entity = getSceneManager()->createEntity("ControlPanel", "ControlPanel.mesh", MyGuiResourceGroup);
126 Ogre::SceneNode* node = getSceneManager()->getRootSceneNode()->createChildSceneNode();
127 node->attachObject(entity);
128#endif
129 }
130
131 void DemoKeeper::injectMouseMove(int _absx, int _absy, int _absz)
132 {

Callers 1

createChildItemNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected