Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreePropertyBindingCompiler.h |
| Include | #include "StateTreePropertyBindingCompiler.h" |
Syntax
USTRUCT&40;&41;
struct FStateTreePropertyBindingCompiler
Remarks
Helper class to compile editor representation of property bindings into runtime representation. TODO: Better error reporting, something that can be shown in the UI.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeCompilerLog * | Log | ||
| FStateTreePropertyBindings * | PropertyBindings | ||
| TArray< FStateTreeBindableStructDesc > | SourceStructs |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddSourceStruct
(
const FStateTreeBindableStructDesc& SourceStruct |
Adds source struct. | |
| bool | CompileBatch
(
const FStateTreeBindableStructDesc& TargetStruct, |
Compiles a batch of property copies. | |
| void | Finalize () |
Finalizes compilation, should be called once all batches are compiled. | |
| const FStateTreeBindableStructDesc & | GetSourceStructDesc
(
const int32 Index |
||
| int32 | GetSourceStructIndexByID
(
const FGuid& ID |
||
| bool | Init
(
FStateTreePropertyBindings& InPropertyBindings, |
Initializes the compiler to compile copies to specified Property Bindings. | |
| void |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| EPropertyAccessCompatibility | GetPropertyCompatibility
(
const FProperty* FromProperty, |
Use FStateTreePropertyBindings::GetPropertyCompatibility instead. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS[[nodiscard]] bool | ResolvePropertyPath
(
const FStateTreeBindableStructDesc& InStructDesc, |
Use FStateTreePropertyPath resolve indirection methods instead. |