Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassEntityTraitBase
- UMassStateTreeTrait
References
| Module | MassAIBehavior |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassStateTreeTrait.h |
| Include | #include "MassStateTreeTrait.h" |
Syntax
UCLASS&40;Meta&61;&40;DisplayName&61;"StateTree"&41;&41;
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. | |
| void | ValidateTemplate
(
FMassEntityTemplateBuildContext& BuildContext, |
Called when all Traits have had BuildTemplate() called. |