Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassEntitySubsystem.h |
Include |
#include "MassEntitySubsystem.h" |
UCLASS()
class UMassEntitySubsystem : public UWorldSubsystem
Name | Description | |
---|---|---|
|
UMassEntitySubsystem() |
Name | Description | ||
---|---|---|---|
|
AddCompositionToEntity_GetDelta ( |
Adds fragments and tags indicated by InOutDescriptor to the Entity. |
|
|
AddFragmentInstanceListToEntity ( |
||
|
AddFragmentListToEntity ( |
Ensures that only unique fragments are added. |
|
|
AddFragmentToEntity ( |
||
|
AddTagToEntity ( |
||
|
TSharedRef< ... |
BatchCreateEntities ( |
A version of CreateEntity that's creating a number of entities (Count) at one go |
|
BatchDestroyEntities ( |
Destroys all the entity in the provided array of entities |
|
|
BatchDestroyEntityChunks ( |
||
|
BatchSetEntityFragmentsValues ( |
Copies values from FragmentInstanceList over to fragments of given entities collection. |
|
|
BuildEntity ( |
Builds an entity for it to be ready to be used by the subsystem |
|
|
BuildEntity ( |
Builds an entity for it to be ready to be used by the subsystem |
|
|
CheckIfEntityIsActive ( |
Asserts that IsEntityBuilt. |
|
|
CheckIfEntityIsValid ( |
Asserts that IsEntityValid. |
|
|
FArchetypeHa... |
CreateArchetype ( |
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. |
|
FArchetypeHa... |
CreateArchetype ( |
CreateArchetype from a composition descriptor and initial values |
|
FArchetypeHa... |
CreateArchetype ( |
Creates an archetype like SourceArchetype + NewFragmentList. |
|
FMassEntityH... |
CreateEntity ( |
Creates fully built entity ready to be used by the subsystem |
|
FMassEntityH... |
CreateEntity ( |
Creates fully built entity ready to be used by the subsystem |
|
FMassExecuti... |
CreateExecutionContext ( |
Creates and initializes a FMassExecutionContext instance. |
|
DebugForceArchetypeDataVersionBump() |
||
|
DebugGetArchetypeEntitiesCount ( |
||
|
DebugGetArchetypeEntitiesCountPerChunk ( |
||
|
DebugGetArchetypeFragmentTypes ( |
||
|
DebugGetArchetypesCount() |
||
|
DebugGetArchetypesStringDetails ( |
||
|
DebugGetArchetypeStrings ( |
||
|
DebugGetEntityCount() |
||
|
FMassEntityH... |
DebugGetEntityIndexHandle ( |
|
|
DebugGetStringDesc ( |
||
|
DebugPrintArchetypes ( |
||
|
DebugPrintEntity ( |
||
|
DebugPrintEntity ( |
||
|
DebugRemoveAllEntities() |
||
|
FMassCommand... |
Defer() |
|
|
DestroyEntity ( |
Destroys a fully built entity, use ReleaseReservedEntity if entity was not yet built. |
|
|
DoEntityCompaction ( |
Go through all archetypes and compact entities |
|
|
ForEachArchetypeFragmentType ( |
Method to iterate on all the fragment types of an archetype |
|
|
ForEachSharedFragment |
||
|
const FMassA... |
GetArchetypeComposition ( |
|
|
GetArchetypeDataVersion() |
||
|
FArchetypeHa... |
GetArchetypeForEntity ( |
|
|
FragmentType... |
GetFragmentDataChecked ( |
|
|
FragmentType... |
GetFragmentDataPtr ( |
|
|
GetFragmentDataStruct ( |
||
|
FMassObserve... |
GetObserverManager() |
|
|
FConstShared... |
GetOrCreateConstSharedFragment ( |
Shared fragment creation methods |
|
FSharedStruc... |
GetOrCreateSharedFragment ( |
|
|
GetValidArchetypes ( |
||
|
FArchetypeHa... |
InternalCreateSiblingArchetype ( |
|
|
IsEntityActive ( |
Return true if it is an valid built entity. |
|
|
IsEntityBuilt ( |
Returns true if Entity is has been fully built (expecting a valid Entity) |
|
|
IsEntityValid ( |
Returns true if Entity is valid. |
|
|
IsProcessing() |
||
|
MoveEntityToAnotherArchetype ( |
Moves an entity over to a new archetype by copying over fragments common to both archetypes |
|
|
FScopedProce... |
NewProcessingScope() |
|
|
ReleaseReservedEntity ( |
Releases a previously reserved entity that was not yet built, otherwise call DestroyEntity |
|
|
RemoveCompositionFromEntity ( |
||
|
RemoveFragmentFromEntity ( |
||
|
RemoveFragmentListFromEntity ( |
||
|
RemoveTagFromEntity ( |
||
|
FMassEntityH... |
ReserveEntity() |
Reserves an entity in the subsystem, the entity is still not ready to be used by the subsystem, need to call BuildEntity() |
|
SetEntityFragmentsValues ( |
Copies values from FragmentInstanceList over to Entity's fragment. |
|
|
SwapTagsForEntity ( |
Name | Description | ||
---|---|---|---|
|
PostInitialize() |
Called once all UWorldSubsystems have been initialized |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |
Implement this for initialization of instances of the system |
Name | Description | ||
---|---|---|---|
|
GetResourceSizeEx ( |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
Name |
Description |
|
---|---|---|
|
FEntityCreationContext |
A dedicated structure for ensuring the "on entities creation" observers get notified only once all other initialization operations are done and this creation context instance gets released. |
|
FScopedProcessing |
Name |
Description |
---|---|
InvalidEntity |
|
NumReservedEntities |
Index 0 is reserved so we can treat that index as an invalid entity handle. |