Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include | #include "StateTreeTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FStateTreeStateLink
Remarks
Link to another state in StateTree
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | ID | ID of the state linked to. | |
| EStateTreeTransitionType | LinkType | Type of the transition, used at edit time to describe e.g. next state (which is calculated at compile time). | |
| FName | Name | Name of the state at the time of linking, used for error reporting. | |
| FStateTreeStateHandle | StateHandle | Handle of the linked state. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeStateLink
(
const EStateTreeTransitionType InType |
|||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | FStateTreeStateLink
(
const FStateTreeStateLink& Other |
||
FStateTreeStateLink
(
FStateTreeStateLink&& Other |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
||
| void | PostSerialize
(
const FArchive& Ar |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS bool | Serialize
(
FStructuredArchive::FSlot Slot |
||
| void | Set
(
const UStateTreeState* InState |
||
| void | Set
(
const EStateTreeTransitionType InType, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeStateLink & | operator=
(
FStateTreeStateLink const& Other |
||
| FStateTreeStateLink & | operator=
(
FStateTreeStateLink&& Other |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| EStateTreeTransitionType | Type_DEPRECATED |