Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FStateTreePropertyBindingCompile- > API/Plugins/StateTreeEditorModule/FStateTreePropertyBindingCompile-/CompileBatch
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreePropertyBindingCompiler.h |
| Include | #include "StateTreePropertyBindingCompiler.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreePropertyBindingCompiler.cpp |
bool CompileBatch
(
const FStateTreeBindableStructDesc & TargetStruct,
TConstArrayView< FStateTreePropertyPathBinding > PropertyBindings,
FStateTreeIndex16 PropertyFuncsBegin,
FStateTreeIndex16 PropertyFuncsEnd,
int32 & OutBatchIndex
)
Remarks
Compiles a batch of property copies. True on success, false on failure.
Parameters
| Name | Description |
|---|---|
| TargetStruct | Description of the structs which contains the target properties. |
| PropertyBindings | Array of bindings to compile, all bindings that point to TargetStructs will be added to the batch. |
| PropertyFuncsBegin | Index of the first PropertyFunction belonging to this batch. |
| PropertyFuncsEnd | Index of the last PropertyFunction belonging to this batch. |
| OutBatchIndex | Resulting batch index, if index is INDEX_NONE, no bindings were found and no batch was generated. |