1 #ifndef UGDK_ACTION_3D_COMPONENT_VIEW_H
2 #define UGDK_ACTION_3D_COMPONENT_VIEW_H
5 #include <OgreVector3.h>
24 virtual std::type_index
type()
const override;
26 Ogre::Entity*
AddEntity(
const std::string& meshName);
27 Ogre::Entity*
AddEntity(
const std::string& entName,
const std::string& meshName);
28 Ogre::Entity*
AddEntity(Ogre::Entity* ent);
31 Ogre::Entity*
GetEntity(
const std::string& entName);
49 #endif // UGDK_ACTION_3D_COMPONENT_VIEW_H
virtual std::type_index type() const override
Definition: view.h:40
Definition: animation.h:11
View()
Definition: view.h:22
Definition: component.h:14
Ogre::Entity * AddEntity(const std::string &meshName)
Ogre::Entity * GetEntity(int index)
std::vector< std::pair< std::string, std::string > > pending_entities_
Definition: view.h:36
void OnTaken() override
TODO: Make this not accessible from Object.
std::vector< Ogre::Entity * > entities_
Definition: view.h:37