Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorPropertyBindings.h |
| Include | #include "StateTreeEditorPropertyBindings.h" |
Syntax
USTRUCT&40;&41;
struct FStateTreeEditorPropertyBindings
Remarks
Editor representation of a all property bindings in a StateTree
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPropertyBinding
(
const FStateTreePropertyPath& SourcePath, |
Adds binding between source and destination paths. | |
| bool | ContainsAnyStruct
(
const TSet< const UStruct* >& Structs |
||
| void | CopyBindings
(
const FGuid FromStructID, |
Copies property bindings from an existing struct to another. | |
| TConstArrayView< FStateTreePropertyPathBinding > | GetBindings () |
||
| TArrayView< FStateTreePropertyPathBinding > | |||
| void | GetPropertyBindingsFor
(
const FGuid StructID, |
Returns all bindings for a specified structs based in struct ID. | |
| const FStateTreePropertyPath * | GetPropertyBindingSource
(
const FStateTreePropertyPath& TargetPath |
||
| bool | HasPropertyBinding
(
const FStateTreePropertyPath& TargetPath |
||
| void | RemovePropertyBindings
(
const FStateTreePropertyPath& TargetPath |
Removes all bindings to target path. | |
| void | RemoveUnusedBindings
(
const TMap< FGuid, const FStateTreeDataView >& ValidStructs |
Removes bindings which do not point to valid structs IDs. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGSvoid | AddPropertyBinding
(
const FStateTreeEditorPropertyPath& SourcePath, |
Use version with FStateTreePropertyPath instead. | |
| const FStateTreeEditorPropertyPath * | GetPropertyBindingSource
(
const FStateTreeEditorPropertyPath& TargetPath |
Use version with FStateTreePropertyPath instead. | |
| bool | HasPropertyBinding
(
const FStateTreeEditorPropertyPath& TargetPath |
Use version with FStateTreePropertyPath instead. | |
| void | RemovePropertyBindings
(
const FStateTreeEditorPropertyPath& TargetPath |
Use version with FStateTreePropertyPath instead. | |
| void | RemoveUnusedBindings
(
const TMap< FGuid, const UStruct* >& ValidStructs |
Use RemoveUnusedBindings with values instead. |