Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Considerations > API/Plugins/StateTreeModule/Considerations/FStateTreeEnumInputConsideration
- FStateTreeNodeBase::OnBindingChanged()
- FStateTreeEnumInputConsideration::OnBindingChanged()
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Considerations/StateTreeCommonConsiderations.h |
| Include | #include "Considerations/StateTreeCommonConsiderations.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/Considerations/StateTreeCommonConsiderations.cpp |
virtual void OnBindingChanged
(
const FGuid & ID,
FStateTreeDataView InstanceDataView,
const FStateTreePropertyPath & SourcePath,
const FStateTreePropertyPath & TargetPath,
const IStateTreeBindingLookup & BindingLookup
)
Remarks
Called when binding of any of the properties in the node changes.
Parameters
| Name | Description |
|---|---|
| ID | ID of the item, can be used make property paths to this item. |
| InstanceDataView | view to the instance data, can be struct or class. |
| SourcePath | Source path of the new binding. |
| TargetPath | Target path of the new binding (the property in the condition). |
| BindingLookup | Reference to binding lookup which can be used to reason about property paths. |