#include <entitycreationparameters.h>
Public Types | |
| using | EntityInstanceByIDMap = std::unordered_map< std::string, std::unique_ptr< EntityInstance > > |
| using | InstanceByIDMap = std::unordered_map< std::string, rtti::Object * > |
| using | EntityInstanceMap = std::unordered_map< Entity *, std::vector< EntityInstance * > > |
| using | ComponentInstanceMap = std::unordered_map< Component *, std::vector< ComponentInstance * > > |
Public Member Functions | |
| EntityCreationParameters (const EntityObjectGraph &objectGraph) | |
| ~EntityCreationParameters () | |
Public Attributes | |
| const EntityObjectGraph * | mObjectGraph = nullptr |
| Object graph of a single root entity and its entire subgraph. More... | |
| EntityInstanceByIDMap | mEntityInstancesByID |
| Map containing all created entity instances and their generated instance ID. More... | |
| InstanceByIDMap | mAllInstancesByID |
| Map of both Entity and Component instances and their generated instance ID. More... | |
| EntityInstanceMap | mEntityInstanceMap |
| Map from Entity resource to a list of instantiated EntityInstances. More... | |
| ComponentInstanceMap | mComponentInstanceMap |
| Map from Component resource to a list of instantiated ComponentInstances. More... | |
| ClonedComponentResourceList * | mCurrentEntityClonedComponents = nullptr |
| List of cloned components for the current root entity being created. More... | |
| ComponentResourcePath | mCurrentEntityPath |
| Path in current entity being created. More... | |
Structure used to hold data necessary to create new instances during init
| using ComponentInstanceMap = std::unordered_map<Component*, std::vector<ComponentInstance*> > |
| using EntityInstanceByIDMap = std::unordered_map<std::string, std::unique_ptr<EntityInstance> > |
| using EntityInstanceMap = std::unordered_map<Entity*, std::vector<EntityInstance*> > |
| using InstanceByIDMap = std::unordered_map<std::string, rtti::Object*> |
| EntityCreationParameters | ( | const EntityObjectGraph & | objectGraph | ) |
| InstanceByIDMap mAllInstancesByID |
| ComponentInstanceMap mComponentInstanceMap |
Map from Component resource to a list of instantiated ComponentInstances.
| ClonedComponentResourceList* mCurrentEntityClonedComponents = nullptr |
List of cloned components for the current root entity being created.
| ComponentResourcePath mCurrentEntityPath |
Path in current entity being created.
| EntityInstanceMap mEntityInstanceMap |
Map from Entity resource to a list of instantiated EntityInstances.
| EntityInstanceByIDMap mEntityInstancesByID |
Map containing all created entity instances and their generated instance ID.
| const EntityObjectGraph* mObjectGraph = nullptr |
Object graph of a single root entity and its entire subgraph.