Navigation
API > API/Plugins > API/Plugins/MassEntity
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassProcessingTypes.h |
| Include | #include "MassProcessingTypes.h" |
Syntax
USTRUCT ()
struct FMassRuntimePipeline
Remarks
Runtime-usable array of MassProcessor copies
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassRuntimePipeline
(
EProcessorExecutionFlags WorldExecutionFlags |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendOrOverrideRuntimeProcessorCopies
(
TConstArrayView< const UMassProcessor* > InProcessors, |
Creates a runtime instance of every processors in the given InProcessors array. | |
| void | AppendProcessor
(
UMassProcessor& Processor |
Adds InProcessor to Processors without any additional checks | |
| void | AppendProcessor
(
TSubclassOf< UMassProcessor > ProcessorClass, |
Creates an instance of ProcessorClass and adds it to Processors without any additional checks | |
| void | AppendUniqueRuntimeProcessorCopies
(
TConstArrayView< const UMassProcessor* > InProcessors, |
Creates a runtime instance of every processors in the given array if there's no processor of that class in Processors already. | |
| void | CreateFromArray
(
TConstArrayView< const UMassProcessor* > InProcessors, |
Creates runtime copies of UMassProcessors given in InProcessors input parameter, using InOwner as new UMassProcessors' outer. | |
| UMassCompositeProcessor * | FindTopLevelGroupByName
(
const FName GroupName |
Goes through Processor looking for a UMassCompositeProcessor instance which GroupName matches the one given as the parameter | |
| TArrayView< TObjectPtr< UMassProcessor > > | |||
| TConstArrayView< TObjectPtr< UMassProcessor > > | |||
| bool | HasProcessorOfExactClass
(
TSubclassOf< UMassProcessor > InClass |
||
| void | Initialize
(
UObject& Owner |
||
| void | InitializeFromArray
(
TConstArrayView< const UMassProcessor* > InProcessors, |
Calls CreateFromArray and calls Initialize on all processors afterwards. | |
| void | InitializeFromClassArray
(
TConstArrayView< TSubclassOf< UMassProcessor > > InProcessorClasses, |
Creates runtime instances of UMassProcessors for each processor class given via InProcessorClasses. | |
| bool | IsEmpty () |
||
| int32 | Num () |
||
| void | RemoveProcessor
(
UMassProcessor& InProcessor |
||
| void | Reset () |
||
| void | SetProcessors
(
TArray< UMassProcessor* >&& InProcessors |
Creates runtime copies of the given UMassProcessors collection. |