Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Enum that can be any type in the UI. Helper class to deal with any enum in property binding.
| Name | FStateTreeAnyEnum |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeAnyEnum.h |
| Include Path | #include "StateTreeAnyEnum.h" |
Syntax
USTRUCT ()
struct FStateTreeAnyEnum
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Enum | TObjectPtr< UEnum > | The enum class associated with this enum. | StateTreeAnyEnum.h |
|
| Value | uint32 | The enum integer value. | StateTreeAnyEnum.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
UEnum* NewEnum |
Initializes the class and value to specific enum. | StateTreeAnyEnum.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FStateTreeAnyEnum& RHS |
StateTreeAnyEnum.h | ||
bool operator==
(
const FStateTreeAnyEnum& RHS |
StateTreeAnyEnum.h |