Target interface used by InputBehaviors that want to implement a multi-click sequence (eg such as drawing a polygon with multiple clicks) 更多...
#include <BehaviorTargetInterfaces.h>
类 IClickSequenceBehaviorTarget 继承关系图:Public 成员函数 | |
| virtual bool | CanBeginClickSequence (const FInputDeviceRay &ClickPos)=0 |
| Test if target would like to begin sequence based on this click. 更多... | |
| virtual void | OnBeginClickSequence (const FInputDeviceRay &ClickPos)=0 |
| Notify Target about the first click in the sequence. 更多... | |
| virtual void | OnBeginSequencePreview (const FInputDeviceRay &ClickPos) |
| Notify Target device position has changed but a click sequence hasn't begun yet (eg for interactive previews) 更多... | |
| virtual bool | OnNextSequenceClick (const FInputDeviceRay &ClickPos)=0 |
| Notify Target about next click in sqeuence 更多... | |
| virtual void | OnNextSequencePreview (const FInputDeviceRay &ClickPos) |
| Notify Target device position has changed but a click hasn't ocurred yet (eg for interactive previews) 更多... | |
| virtual void | OnTerminateClickSequence ()=0 |
| Notify Target that click sequence has been explicitly terminated (eg by escape key, cancel tool, etc). 更多... | |
| virtual bool | RequestAbortClickSequence () |
| Target overrides this and returns true if it wants to abort click sequence. 更多... | |
Public 成员函数 继承自 IModifierToggleBehaviorTarget | |
| virtual void | OnUpdateModifierState (int ModifierID, bool bIsOn) |
| Notify target of current modifier state 更多... | |
Target interface used by InputBehaviors that want to implement a multi-click sequence (eg such as drawing a polygon with multiple clicks)
|
pure virtual |
Test if target would like to begin sequence based on this click.
Gets checked both on mouse down and mouse up.
| ClickPos | device position/ray at click point |
|
pure virtual |
Notify Target about the first click in the sequence.
| ClickPos | device position/ray at click point |
|
inlinevirtual |
Notify Target device position has changed but a click sequence hasn't begun yet (eg for interactive previews)
| ClickPos | device position/ray at click point |
|
pure virtual |
Notify Target about next click in sqeuence
| ClickPos | device position/ray at click point |
|
inlinevirtual |
Notify Target device position has changed but a click hasn't ocurred yet (eg for interactive previews)
| ClickPos | device position/ray at click point |
|
pure virtual |
Notify Target that click sequence has been explicitly terminated (eg by escape key, cancel tool, etc).
Also called if sequence is terminated from querying target with RequestAbortClickSequence().
|
inlinevirtual |
Target overrides this and returns true if it wants to abort click sequence.
Behavior checks every update and if this ever returns true, terminates sequence