Navigation
API > API/Plugins > API/Plugins/MassEntity
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassExecutionContext.h |
| Include | #include "MassExecutionContext.h" |
Syntax
struct FMassExecutionContext
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassExecutionContext
(
FMassEntityManager& InEntityManager, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CacheSubsystemRequirements
(
const FMassSubsystemRequirements& SubsystemRequirements |
Processes SubsystemRequirements to fetch and cache all the indicated subsystems. | |
| void | |||
| void | |||
| void | |||
| const FString & | |||
| void | DebugSetExecutionDesc
(
const FString& Description |
||
| FMassCommandBuffer & | Defer () |
||
| bool | |||
| void | |||
| const FInstancedStruct & | GetAuxData () |
||
| const T & | |||
| const T * | |||
| int32 | |||
| const T & | |||
| const T * | Shared fragment related operations | ||
| float | |||
| TConstArrayView< FMassEntityHandle > | GetEntities () |
||
| FMassEntityHandle | GetEntity
(
const int32 Index |
||
| const FMassArchetypeEntityCollection & | Sparse chunk related operation | ||
| FMassEntityManager & | |||
| TConstArrayView< FMassFragment > | GetFragmentView
(
const UScriptStruct* FragmentType |
||
| TConstArrayView< TFragment > | |||
| FInstancedStruct & | |||
| T & | |||
| T * | |||
| TArrayView< FMassFragment > | GetMutableFragmentView
(
const UScriptStruct* FragmentType |
||
| TArrayView< TFragment > | Fragments related operations | ||
| T & | |||
| T * | |||
| T * | GetMutableSubsystem
(
const TSubclassOf< USubsystem > SubsystemClass |
||
| T * | |||
| T & | GetMutableSubsystemChecked
(
const TSubclassOf< USubsystem > SubsystemClass |
||
| T & | |||
| int32 | |||
| TSharedPtr< FMassCommandBuffer > | |||
| const T & | |||
| const T * | |||
| const T * | GetSubsystem () |
||
| const T * | GetSubsystem
(
const TSubclassOf< USubsystem > SubsystemClass |
||
| const T & | |||
| const T & | GetSubsystemChecked
(
const TSubclassOf< USubsystem > SubsystemClass |
||
| UWorld * | GetWorld () |
||
| void | SetAuxData
(
const FInstancedStruct& InAuxData |
||
| void | SetCurrentArchetypesTagBitSet
(
const FMassTagBitSet& BitSet |
||
| void | SetCurrentChunkSerialModificationNumber
(
const int32 SerialModificationNumber |
Chunk related operations | |
| void | SetDeferredCommandBuffer
(
const TSharedPtr< FMassCommandBuffer >& InDeferredCommandBuffer |
||
| void | SetEntityCollection
(
const FMassArchetypeEntityCollection& InEntityCollection |
||
| void | SetEntityCollection
(
FMassArchetypeEntityCollection&& InEntityCollection |
||
| void | SetExecutionType
(
EMassExecutionContextType InExecutionType |
||
| void | SetFlushDeferredCommands
(
const bool bNewFlushDeferredCommands |
Sets bFlushDeferredCommands. | |
| void | SetFragmentRequirements
(
const FMassFragmentRequirements& FragmentRequirements |
||
| void | SetSubsystemRequirements
(
const FMassSubsystemRequirements& SubsystemRequirements |
||
| bool |
Typedefs
| Name | Description |
|---|---|
| FChunkFragmentView | |
| FConstSharedFragmentView | |
| FFragmentView | |
| FSharedFragmentView |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CacheSubsystemRequirements
(
const UWorld*, |
This version of CacheSubsystemRequirements is deprecated. Use the one without the UWorld parameter | |
| T * | GetMutableSubsystem
(
const UWorld* World, |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| T * | GetMutableSubsystem
(
const UWorld* World |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| T & | GetMutableSubsystemChecked
(
const UWorld* World, |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| T & | GetMutableSubsystemChecked
(
const UWorld* World |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| const T * | GetSubsystem
(
const UWorld* World |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| const T * | GetSubsystem
(
const UWorld* World, |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| const T & | GetSubsystemChecked
(
const UWorld* World |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. | |
| const T & | GetSubsystemChecked
(
const UWorld* World, |
The Get*Subsystem(World) functions have been deprecated. Use the world-less flavor. |