Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Describes an external data. The data can point to a struct or object. The code that handles StateTree ticking is responsible for passing in the actually data, see FStateTreeExecutionContext.
| Name | FStateTreeExternalDataDesc |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionTypes.h |
| Include Path | #include "StateTreeExecutionTypes.h" |
Syntax
USTRUCT ()
struct FStateTreeExternalDataDesc
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StateTreeExecutionTypes.h | |||
FStateTreeExternalDataDesc
(
const UStruct* InStruct, |
StateTreeExecutionTypes.h | ||
FStateTreeExternalDataDesc
(
const FName InName, |
StateTreeExecutionTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Handle | FStateTreeExternalDataHandle | Handle/Index to the StateTreeExecutionContext data views array | StateTreeExecutionTypes.h | |
| ID | FGuid | Unique identifier. Used only for bindable external data. | StateTreeExecutionTypes.h | |
| Name | FName | Name of the external data. | StateTreeExecutionTypes.h |
|
| Requirement | EStateTreeExternalDataRequirement | Describes if the data is required or not. | StateTreeExecutionTypes.h | |
| Struct | TObjectPtr< const UStruct > | Class or struct of the external data. | StateTreeExecutionTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsCompatibleWith
(
const FStateTreeDataView& DataView |
StateTreeExecutionTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FStateTreeExternalDataDesc& Other |
StateTreeExecutionTypes.h |