Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeReference.h |
| Include | #include "StateTreeReference.h" |
Syntax
USTRUCT ()
struct FStateTreeReferenceOverrides
Remarks
Overrides for linked State Trees. This table is used to override State Tree references on linked states. If a linked state's tag is exact match of the tag specified on the table, the reference from the table is used instead.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOverride
(
const FGameplayTag StateTag, |
Adds or replaces override for a selected tag. | |
| TConstArrayView< FStateTreeReferenceOverrideItem > | |||
| bool | RemoveOverride
(
const FGameplayTag StateTag |
Returns true if removing an override succeeded. | |
| void | Reset () |
Removes all overrides. |