Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreePropertyBindings
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreePropertyBindings.h |
| Include | #include "StateTreePropertyBindings.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreePropertyBindings.cpp |
bool CopyTo
&40;
TConstArrayView< FStateTreeDataView > SourceStructViews,
const FStateTreeIndex16 TargetBatchIndex,
FStateTreeDataView TargetStructView
&41; const
Remarks
Copies a batch of properties from source structs to target struct. true if all copies succeeded (a copy can fail e.g. if source or destination struct view is invalid).
Parameters
| Name | Description |
|---|---|
| SourceStructViews | Views to structs where properties are copied from. |
| TargetBatchIndex | Batch index to copy (see FStateTreePropertyBindingCompiler). |
| TargetStructView | View to struct where properties are copied to. |