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 ()
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 | |
|---|---|---|---|
| TArray< FCompiledReference > | CompiledReferences | ||
| FStateTreeCompilerLog * | Log | ||
| FStateTreePropertyBindings * | PropertyBindings | ||
| TArray< FStateTreeBindableStructDesc > | SourceStructs |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddSourceStruct
(
const FStateTreeBindableStructDesc& SourceStruct |
Adds source struct. | |
| bool | CompileBatch
(
const FStateTreeBindableStructDesc& InTargetStruct, |
||
| bool | CompileBatch
(
const FStateTreeBindableStructDesc& TargetStruct, |
Compiles a batch of property copies. | |
| bool | CompileReferences
(
const FStateTreeBindableStructDesc& TargetStruct, |
||
| bool | CompileReferences
(
const FStateTreeBindableStructDesc& TargetStruct, |
Compiles references for selected struct | |
| void | Finalize () |
Finalizes compilation, should be called once all batches are compiled. | |
| EPropertyAccessCompatibility | GetPropertyCompatibility
(
const FProperty* FromProperty, |
Checks if two property types can are compatible for copying. | |
| const FStateTreeBindableStructDesc & | GetSourceStructDesc
(
const int32 Index |
||
| const FStateTreeBindableStructDesc * | GetSourceStructDescByID
(
const FGuid& ID |
||
| int32 | GetSourceStructIndexByID
(
const FGuid& ID |
||
| bool | Init
(
FStateTreePropertyBindings& InPropertyBindings, |
Initializes the compiler to compile copies to specified Property Bindings. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS bool | ResolvePropertyPath
(
const FStateTreeBindableStructDesc& InStructDesc, |
Resolves a string based property path in specified struct into segments of property names and access types. | |
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCompiledReference | Representation of compiled reference. |