Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
The processor that the UMassStateTreeSubsystem will instantiate for every unique StateTree Mass-requirements. The user is not expected to instantiate these processors manually, but a project-specific extension can be implemented. It needs to derive from UMassStateTreeProcessor and set as the value of UMassStateTreeSubsystem.DynamicProcessorClass.
| Name | UMassStateTreeProcessor |
| Type | class |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassStateTreeProcessors.h |
| Include Path | #include "MassStateTreeProcessors.h" |
Syntax
UCLASS (MinimalAPI)
class UMassStateTreeProcessor : public UMassSignalProcessorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMassProcessor → UMassSignalProcessorBase → UMassStateTreeProcessor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMassStateTreeProcessor
(
const FObjectInitializer& ObjectInitializer |
MassStateTreeProcessors.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddHandledStateTree
(
TNotNull< const UStateTree* > StateTree |
Adds StateTree to the collection of the assets this specific processor instance will handle. | MassStateTreeProcessors.h | |
void SetExecutionRequirements
(
const FMassFragmentRequirements& FragmentRequirements, |
Called to configure dynamic processor's additional requirements that will ensure its located properly within Mass's processing graph. | MassStateTreeProcessors.h |
Protected
Overridden from UMassSignalProcessorBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SignalEntities
(
FMassEntityManager& EntityManager, |
MassStateTreeProcessors.h |
Overridden from UMassProcessor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConfigureQueries
(
const TSharedRef< FMassEntityManager >& EntityManager |
MassStateTreeProcessors.h | ||
virtual void ExportRequirements
(
FMassExecutionRequirements& OutRequirements |
MassStateTreeProcessors.h | ||
virtual void InitializeInternal
(
UObject& Owner, |
MassStateTreeProcessors.h |