Inherits AZ::Entity.
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 Public Member Functions inherited from AZ::Entity | |
| static void | Reflect (ReflectContext *reflection) |
| static EntityId | MakeId () |
| static AZ::u32 | GetProcessSignature () |
| static DependencySortOutcome | DependencySort (ComponentArrayType &components) |
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 |
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. | |
| uint32_t | m_activeStateByType = s_allStatesOn |
| 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. | |
Static Protected Attributes inherited from AZ::Entity | |
| static constexpr size_t | s_maxStateFlags = 32 |
| static constexpr uint32_t | s_allOn32 = 0xFFFFFFFFu |
| static constexpr uint32_t | s_allStatesOn |