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