Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeLinker.h |
| Include | #include "StateTreeLinker.h" |
Syntax
struct FStateTreeLinker
Remarks
The StateTree linker is used to resolved references to various StateTree data at load time.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | CurrentInstanceIndex | ||
| const UStruct * | CurrentInstanceStruct | ||
| int32 | ExternalDataBaseIndex | ||
| TArray< FStateTreeExternalDataDesc > | ExternalDataDescs | ||
| const UStateTreeSchema * | Schema | ||
| EStateTreeLinkerStatus | Status |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeLinker
(
const UStateTreeSchema* InSchema |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TConstArrayView< FStateTreeExternalDataDesc > | |||
| EStateTreeLinkerStatus | GetStatus () |
||
| TEnableIf< TIsDerivedFrom< typename T::DataType, UObject >::IsDerived, void >::Type | LinkExternalData
(
T& Handle |
Links reference to an external UObject. | |
| TEnableIfTIsDerivedFrom< typename T::DataType, UObject >::IsDerived, void >::Type | LinkExternalData
(
T& Handle |
Links reference to an external UObject. | |
| void | LinkExternalData
(
FStateTreeExternalDataHandle& Handle, |
Links reference to an external Object or Struct. | |
| void | SetCurrentInstanceDataType
(
const UStruct* Struct, |
Sets currently linked item's instance data type and index. | |
| void | SetExternalDataBaseIndex
(
const int32 InExternalDataBaseIndex |
Sets base index for all external data handles. |
See Also
TStateTreeExternalDataHandle<> forexample usage.