Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Blueprint
Inheritance Hierarchy
- FStateTreeNodeBase
- FStateTreeTaskBase
- FStateTreeBlueprintTaskWrapper
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Blueprint/StateTreeTaskBlueprintBase.h |
| Include | #include "Blueprint/StateTreeTaskBlueprintBase.h" |
Syntax
USTRUCT ()
struct FStateTreeBlueprintTaskWrapper : public FStateTreeTaskBase
Remarks
Wrapper for Blueprint based Tasks.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UStateTreeTaskBlueprintBase > | TaskClass |
Overridden from FStateTreeTaskBase
| Type | Name | Description | |
|---|---|---|---|
| EStateTreeRunStatus | EnterState
(
FStateTreeExecutionContext& Context, |
Called when a new state is entered and task is part of active states. | |
| void | ExitState
(
FStateTreeExecutionContext& Context, |
Called when a current state is exited and task is part of active states. | |
| void | StateCompleted
(
FStateTreeExecutionContext& Context, |
Called right after a state has been completed, but before new state has been selected. | |
| EStateTreeRunStatus | Tick
(
FStateTreeExecutionContext& Context, |
Called during state tree tick when the task is on active state. |
Overridden from FStateTreeNodeBase
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | Compile
(
FStateTreeDataView InstanceDataView, |
Called during State Tree compilation, allows to modify and validate the node and instance data. | |
| FText | GetDescription
(
const FGuid& ID, |
Returns description for the node, use in the UI. | |
| FColor | GetIconColor () |
||
| FName | GetIconName () |
||
| const UStruct * |