Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FStateTreeEditorNode
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
InitializeAs(TNotNull< UObject * >, TArgs &&...)
Description
Initializes the node as the given type, resetting any previous state. Handles both instance data and execution runtime data types.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorNode.h |
| Include Path | #include "StateTreeEditorNode.h" |
template<typename T, typename... TArgs>
void InitializeAs
(
TNotNull< UObject * > InOuter,
TArgs &&... InArgs
)
Parameters
| Name | Remarks |
|---|---|
| InOuter | Outer object used when creating UObject instance or execution runtime data. |
InitializeAs(TNotNull< UObject >, TNotNull< const UScriptStruct >)
Description
Initializes the node with the given struct type, resetting any previous state. Non-templated counterpart to the templated InitializeAs, for use when the node type is only known at runtime. Handles both instance data and execution runtime data types.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorNode.h |
| Include Path | #include "StateTreeEditorNode.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeEditorNode.cpp |
void InitializeAs
(
TNotNull< UObject * > InOuter,
TNotNull< const UScriptStruct * > InNodeStruct
)
Parameters
| Name | Remarks |
|---|---|
| InOuter | Outer object used when creating UObject instance or execution runtime data. |
| InNodeStruct | Node struct type to initialize with. |