![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BehaviorTargetInterfaces.h>
Inheritance diagram for IClickBehaviorTarget:Public Member Functions | |
| virtual | ~IClickBehaviorTarget () |
| virtual FInputRayHit | IsHitByClick (const FInputDeviceRay &ClickPos)=0 |
| virtual void | OnClicked (const FInputDeviceRay &ClickPos)=0 |
Public Member Functions inherited from IModifierToggleBehaviorTarget | |
| virtual | ~IModifierToggleBehaviorTarget () |
| virtual void | OnUpdateModifierState (int ModifierID, bool bIsOn) |
| virtual void | OnForceEndCapture () |
Functions required to apply standard "Click" state machines to a target object. See USingleClickBehavior for an example of this kind of state machine.
|
inlinevirtual |
|
pure virtual |
Test if target is hit by a click
| ClickPos | device position/ray at click point |
Implemented in USingleClickTool, ULocalDoubleClickInputBehavior, ULocalSingleClickInputBehavior, and USimpleSingleClickGizmo.
|
pure virtual |
Notify Target that click ocurred
| ClickPos | device position/ray at click point |
Implemented in USingleClickTool, ULocalDoubleClickInputBehavior, ULocalSingleClickInputBehavior, and USimpleSingleClickGizmo.