Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
An implementation of USingleClickInputBehavior that also implements IClickBehaviorTarget directly, via a set of local lambda functions. To use/customize this class, the client replaces the lambda functions with their own. This avoids having to create a separate IClickBehaviorTarget implementation for trivial use-cases.
| Name | ULocalSingleClickInputBehavior |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/SingleClickBehavior.h |
| Include Path | #include "BaseBehaviors/SingleClickBehavior.h" |
Syntax
UCLASS (MinimalAPI)
class ULocalSingleClickInputBehavior :
public USingleClickInputBehavior ,
public IClickBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputBehavior → UAnyButtonInputBehavior → USingleClickInputBehavior → ULocalSingleClickInputBehavior
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IsHitByClickFunc | TUniqueFunction< FInputRayHit(const FInputDeviceRay &)> | Lambda implementation of IsHitByClick | BaseBehaviors/SingleClickBehavior.h | |
| OnClickedFunc | TUniqueFunction< void(const FInputDeviceRay &)> | Lambda implementation of OnClicked | BaseBehaviors/SingleClickBehavior.h | |
| OnUpdateModifierStateFunc | TUniqueFunction< void(int, bool) > | Lambda implementation of OnUpdateModifierState | BaseBehaviors/SingleClickBehavior.h |