Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
Inheritance Hierarchy
- UObject
- UMassEntityTraitBase
- UMassStateTreeTrait
References
| Module | MassAIBehavior |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassStateTreeTrait.h |
| Include | #include "MassStateTreeTrait.h" |
Syntax
UCLASS (Meta=(DisplayName="StateTree"))
class UMassStateTreeTrait : public UMassEntityTraitBase
Remarks
Feature that adds StateTree execution functionality to a mass agent.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UStateTree > | StateTree |
Overridden from UMassEntityTraitBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildTemplate
(
FMassEntityTemplateBuildContext& BuildContext, |
Appends items into the entity template required for the trait. | |
| bool | ValidateTemplate
(
const FMassEntityTemplateBuildContext& BuildContext, |
Called once all traits have been processed and fragment requirements have been checked. |