Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
Base for Evaluator, Task, Condition, Consideration Utilities, Property Function nodes.
| Name | FStateTreeEditorNode |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorNode.h |
| Include Path | #include "StateTreeEditorNode.h" |
Syntax
USTRUCT (BlueprintType )
struct FStateTreeEditorNode
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExecutionRuntimeData | FInstancedStruct | StateTreeEditorNode.h |
|
|
| ExecutionRuntimeDataObject | TObjectPtr< UObject > | StateTreeEditorNode.h |
|
|
| ExpressionIndent | uint8 | StateTreeEditorNode.h |
|
|
| ExpressionOperand | EStateTreeExpressionOperand | StateTreeEditorNode.h |
|
|
| ID | FGuid | ID for the node instance. | StateTreeEditorNode.h |
|
| Instance | FInstancedStruct | StateTreeEditorNode.h |
|
|
| InstanceObject | TObjectPtr< UObject > | StateTreeEditorNode.h |
|
|
| Node | FInstancedStruct | StateTreeEditorNode.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedNodeName | TOptional< FName > | StateTreeEditorNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool FixObjectInstances
(
TSet< UObject* >& SeenObjects, |
Fixes UObject instance data of the node, ensuring proper outers and making duplicates unique. | StateTreeEditorNode.h | |
| StateTreeEditorNode.h | |||
| StateTreeEditorNode.h | |||
| StateTreeEditorNode.h | |||
| StateTreeEditorNode.h | |||
FGuid GetInstanceDataID() |
Get ID for the node instance data, which is different from the ID for the template. | StateTreeEditorNode.h | |
| This is used to name nodes for runtime, as well as for error reporting. | StateTreeEditorNode.h | ||
TStructView< FStateTreeNodeBase > GetNode() |
Get DataView for the node template. | StateTreeEditorNode.h | |
FGuid GetNodeID() |
Get ID for the node template, which is different from the ID for the Instance. | StateTreeEditorNode.h | |
void InitializeAs
(
TNotNull< UObject* > InOuter, |
Initializes the node as the given type, resetting any previous state. | StateTreeEditorNode.h | |
void InitializeAs
(
TNotNull< UObject* > InOuter, |
Initializes the node with the given struct type, resetting any previous state. | StateTreeEditorNode.h | |
void ReallocInstanceData
(
TNotNull< UObject* > InOuter |
Resets and reallocates instance and execution runtime data to match the current node type, preserving the node ID. | StateTreeEditorNode.h | |
void Reset() |
Resets node and instance fields to their default values. | StateTreeEditorNode.h | |
void SetNodeName
(
FName NewName |
Sets the name of the node. Resets the cached node name if the name changed. | StateTreeEditorNode.h |