Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FStateTreeEditorPropertyBindings
Description
Adds a task completion binding between a task and target delegate listener. Task completion binding, generate a delegate dispatcher when compiled.
| Name | AddTaskCompletionBinding |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorPropertyBindings.h |
| Include Path | #include "StateTreeEditorPropertyBindings.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeEditorPropertyBindings.cpp |
const FStateTreePropertyPathBinding * AddTaskCompletionBinding
(
const FGuid & SourceTask,
const FPropertyBindingPath & TargetPath,
UE::StateTree::ETaskCompletionCondition Completion
)
Constructed Binding.
Parameters
| Name | Remarks |
|---|---|
| SourceTask | The task that will broadcast the delegate. |
| TargetPath | Listener target property path. |
| Completion | The condition for the task to broadcast the delegate. |