Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseBehaviors
Inheritance Hierarchy
- IModifierToggleBehaviorTarget
- IClickSequenceBehaviorTarget
- UDrawPolygonTool
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/BehaviorTargetInterfaces.h |
| Include | #include "BaseBehaviors/BehaviorTargetInterfaces.h" |
Syntax
class IClickSequenceBehaviorTarget : public IModifierToggleBehaviorTarget
Remarks
Target interface used by InputBehaviors that want to implement a multi-click sequence (eg such as drawing a polygon with multiple clicks)
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeginClickSequence
(
const FInputDeviceRay& ClickPos |
Test if target would like to begin sequence based on this click. | |
| void | OnBeginClickSequence
(
const FInputDeviceRay& ClickPos |
Notify Target about the first click in the sequence. | |
| void | OnBeginSequencePreview
(
const FInputDeviceRay& ClickPos |
Notify Target device position has changed but a click sequence hasn't begun yet (eg for interactive previews) | |
| bool | OnNextSequenceClick
(
const FInputDeviceRay& ClickPos |
Notify Target about next click in sqeuence | |
| void | OnNextSequencePreview
(
const FInputDeviceRay& ClickPos |
Notify Target device position has changed but a click hasn't ocurred yet (eg for interactive previews) | |
| void | Notify Target that click sequence has been explicitly terminated (eg by escape key, cancel tool, etc). | ||
| bool | Target overrides this and returns true if it wants to abort click sequence. |