Navigation
API > API/Plugins > API/Plugins/MassSimulation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UWorldSubsystem
- UMassSimulationSubsystem
References
| Module | MassSimulation |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSimulation/Public/MassSimulationSubsystem.h |
| Include | #include "MassSimulationSubsystem.h" |
Syntax
UCLASS&40;Config&61;Game, defaultconfig&41;
class UMassSimulationSubsystem : public UWorldSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSimulationStarted | ||
| bool | bTickInProgress | ||
| float | CurrentDeltaSeconds | ||
| TSharedPtr< FMassEntityManager > | EntityManager | ||
| FDelegateHandle | MassEntitySettingsChangeHandle | ||
| FMassProcessingPhaseManager | PhaseManager | ||
| FDelegateHandle | PieBeginEventHandle | ||
| FDelegateHandle | PieEndedEventHandle | ||
| FMassRuntimePipeline | RuntimePipeline |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMassSimulationSubsystem
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMassProcessingPhase::FOnPhaseEvent & | GetOnProcessingPhaseFinished
(
const EMassProcessingPhase Phase |
||
| FMassProcessingPhase::FOnPhaseEvent & | GetOnProcessingPhaseStarted
(
const EMassProcessingPhase Phase |
||
| FOnSimulationStarted & | |||
| const FMassProcessingPhaseManager & | |||
| bool | |||
| bool | |||
| void | OnMassEntitySettingsChange
(
const FPropertyChangedEvent& PropertyChangedEvent |
||
| void | OnPieBegin
(
const bool bIsSimulation |
||
| void | OnPieEnded
(
const bool bIsSimulation |
||
| void | OnProcessingPhaseStarted
(
const float DeltaSeconds, |
||
| void | |||
| void | RegisterDynamicProcessor
(
UMassProcessor& Processor |
||
| void | StartSimulation
(
UWorld& InWorld |
||
| void | |||
| void | UnregisterDynamicProcessor
(
UMassProcessor& Processor |
Overridden from UWorldSubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | OnWorldBeginPlay
(
UWorld& InWorld |
Called when world is ready to start gameplay before the game mode transitions to the correct state and call BeginPlay on all actors | |
| void | Called once all UWorldSubsystems have been initialized |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. |
Typedefs
| Name | Description |
|---|---|
| FOnSimulationStarted |
Constants
| Name | Description |
|---|---|
| OnSimulationStarted |