#include <ModuleManager.h>
Inherits AZ::Entity.
Static Public Member Functions | |
| static void | Reflect (ReflectContext *context) |
Static Public Member Functions inherited from AZ::Entity | |
| static void | Reflect (ReflectContext *reflection) |
| static EntityId | MakeId () |
| static AZ::u32 | GetProcessSignature () |
| static DependencySortOutcome | DependencySort (ComponentArrayType &components) |
Public Attributes | |
| AZ::Uuid | m_moduleClassId |
Protected Member Functions | |
| void | SetState (Entity::State state) |
Protected Member Functions inherited from AZ::Entity | |
| void | SetState (State state) |
| void | OnNameChanged () const |
| Signals to listeners that the entity's name has changed. | |
| bool | CanAddRemoveComponents () const |
Friends | |
| class | ModuleManager |
Additional Inherited Members | |
Public Types inherited from AZ::Entity | |
| enum class | State : u8 { Constructed , Initializing , Init , Activating , Active , Deactivating , Destroying , Destroyed } |
| enum class | DependencySortResult { Success = 0 , MissingRequiredService , HasCyclicDependency , HasIncompatibleServices , DescriptorNotRegistered , DSR_OK = Success , DSR_MISSING_REQUIRED = MissingRequiredService , DSR_CYCLIC_DEPENDENCY = HasCyclicDependency } |
| using | ComponentArrayType = AZStd::vector< Component * > |
| using | StringWarningArray = AZStd::vector< AZStd::string > |
| This type of array is used by the warning. | |
| using | EntityStateEvent = Event< State, State > |
| An event that signals old state and new state during entity state changes. | |
| using | DependencySortOutcome = AZ::Outcome< void, FailedSortDetails > |
Static Protected Member Functions inherited from AZ::Entity | |
| static void | ActivateComponent (Component &component) |
| static void | DeactivateComponent (Component &component) |
Protected Attributes inherited from AZ::Entity | |
| EntityId | m_id |
| ComponentArrayType | m_components |
| An array of components attached to the entity. | |
| EntityStateEvent | m_stateEvent |
| An event used to signal all entity state changes. | |
| TransformInterface * | m_transform |
| AZStd::string | m_name |
| A user-friendly name for the entity. This makes error messages easier to read. | |
| u32 | m_entitySpawnTicketId = 0 |
| State | m_state |
| The state of the entity. | |
| bool | m_isDependencyReady |
| Indicates the component dependencies have been evaluated and sorting was completed successfully. | |
| bool | m_isRuntimeActiveByDefault |
| Indicates the entity should be activated on initial creation. | |
ModuleEntity is an Entity that carries a module class id along with it. This we do so that when the System Entity Editor saves out an entity, when it's loaded from the stream, we can use that id to associate the entity with the appropriate module.