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