Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassProcessingPhase.h |
Include |
#include "MassProcessingPhase.h" |
UCLASS(Transient, HideCategories=(Tick))
class UMassProcessingPhaseManager : public UObject
MassProcessingPhaseManager owns separate FMassProcessingPhase instances for every ETickingGroup. When activated via Start function it registers and enables the FMassProcessingPhase instances which themselves are tick functions that host UMassCompositeProcessor which they trigger as part of their Tick function. MassProcessingPhaseManager serves as an interface to said FMassProcessingPhase instances and allows initialization with MassSchematics (via InitializePhases function) as well as registering arbitrary functions to be called when a particular phase starts of ends (via GetOnPhaseStart and GetOnPhaseEnd functions).
Name | Description | ||
---|---|---|---|
|
CurrentPhase |
||
|
EntitySubsystem |
||
|
friend |
FMassProcessingPhase |
|
|
MassEntitySettingsChangeHandle |
||
|
ProcessingPhases |
Name | Description | ||
---|---|---|---|
|
CreatePhases() |
Creates phase processors instances for each declared phase name, based on MassEntitySettings |
|
|
EnableTickFunctions ( |
||
|
UMassEntityS... |
GetEntitySubsystemRef() |
|
|
FMassProcess... |
GetOnPhaseEnd ( |
Retrieves OnPhaseEnd multicast delegate's reference for a given Phase |
|
FMassProcess... |
GetOnPhaseStart ( |
Retrieves OnPhaseStart multicast delegate's reference for a given Phase |
|
InitializePhases ( |
Populates hosted FMassProcessingPhase instances with Processors read from MassEntitySettings configuration. |
|
|
IsDuringMassProcessing() |
Returns true when called while any of the ProcessingPhases is actively executing its processors. |
|
|
IsRunning() |
||
|
OnMassEntitySettingsChange ( |
||
|
OnPhaseEnd ( |
Called by the given Phase at the very end of its execution function (the FMassProcessingPhase::ExecuteTick), after the FMassProcessingPhase.OnPhaseEnd broadcast delegate |
|
|
OnPhaseStart ( |
Called by the given Phase at the very start of its execution function (the FMassProcessingPhase::ExecuteTick), even before the FMassProcessingPhase.OnPhaseStart broadcast delegate |
|
|
SetPhaseProcessor ( |
Sets the composite processor used for Phase processing phase. |
|
|
Start ( |
Both flavors of Start function boil down to setting EntitySubsystem and Executor. |
|
|
Start ( |
Both flavors of Start function boil down to setting EntitySubsystem and Executor. |
|
|
Stop() |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |