FMassRuntimePipeline

A helper type that converts a set of UMassSchematics into a runtime-usable array of MassProcessor copies

Choose your operating system:

Windows

macOS

Linux

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassProcessingTypes.h

Include

#include "MassProcessingTypes.h"

Syntax

USTRUCT()
struct FMassRuntimePipeline

Remarks

A helper type that converts a set of UMassSchematics into a runtime-usable array of MassProcessor copies

Variables

Name Description

Public variable UProperty

TArray< UMassPr...

 

Processors

Functions

Name Description

Public function

void

 

AppendOrOverrideRuntimeProcessorCopies

(
    TConstArrayView< const UMassProcess...,
    UObject& InOwner
)

Creates a runtime instance of every processors in the given InProcessors array.

Public function

void

 

AppendProcessor

(
    UMassProcessor& Processor
)

Adds InProcessor to Processors without any additional checks

Public function

void

 

AppendProcessor

(
    TSubclassOf< UMassProcessor > Proce...,
    UObject& InOwner
)

Creates an instance of ProcessorClass and adds it to Processors without any additional checks

Public function

void

 

AppendUniqueRuntimeProcessorCopies

(
    TConstArrayView< const UMassProcess...,
    UObject& InOwner
)

Creates a runtime instance of every processors in the given array if there's no processor of that class in Processors already.

Public function

void

 

CreateFromArray

(
    TConstArrayView< const UMassProcess...,
    UObject& InOwner
)

Creates runtime copies of UMassProcessors given in InProcessors input parameter, using InOwner as new UMassProcessors' outer.

Public function Const

void

 

DebugOutputDescription

(
    FOutputDevice& Ar
)

Public function

UMassComposi...

 

FindTopLevelGroupByName

(
    const FName GroupName
)

Goes through Processor looking for a UMassCompositeProcessor instance which GroupName matches the one given as the parameter

Public function Const

bool

 

HasProcessorOfExactClass

(
    TSubclassOf< UMassProcessor > InCla...
)

Public function

void

 

Initialize

(
    UObject& Owner
)

Public function

void

 

InitializeFromArray

(
    TConstArrayView< const UMassProcess...,
    UObject& InOwner
)

Calls CreateFromArray and calls Initialize on all processors afterwards.

Public function

void

 

InitializeFromClassArray

(
    TConstArrayView< TSubclassOf< UMass...,
    UObject& InOwner
)

Creates runtime instances of UMassProcessors for each processor class given via InProcessorClasses.

Public function

void

 

InitializeFromSchematics

(
    TConstArrayView< TSoftObjectPtr< UM...,
    UObject& InOwner
)

Creates runtime copies of UMassProcessors declared in Schematics using InOwner as new UMassProcessors' outer.

Public function Const

bool

 

IsEmpty()

Public function

void

 

Reset()

Public function

void

 

SetProcessors

(
    TArray< UMassProcessor* >&& I...
)

Creates runtime copies of the given UMassProcessors collection.