Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionTypes.h |
| Include | #include "StateTreeExecutionTypes.h" |
Syntax
USTRUCT ()
struct FStateTreeExternalDataDesc
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeExternalDataHandle | Handle | Handle/Index to the StateTreeExecutionContext data views array | |
| FGuid | ID | Unique identifier. Used only for bindable external data. | |
| FName | Name | Name of the external data. | |
| EStateTreeExternalDataRequirement | Requirement | Describes if the data is required or not. | |
| TObjectPtr< const UStruct > | Struct | Class or struct of the external data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeExternalDataDesc
(
const UStruct* InStruct, |
|||
FStateTreeExternalDataDesc
(
const FName InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsCompatibleWith
(
const FStateTreeDataView& DataView |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FStateTreeExternalDataDesc& Other |