Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/SingleClickBehavior.h |
Include |
#include "BaseBehaviors/SingleClickBehavior.h" |
class ULocalSingleClickInputBehavior :
public USingleClickInputBehavior,
public IClickBehaviorTarget
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 | Description | ||
---|---|---|---|
|
IsHitByClickFunc |
Lambda implementation of IsHitByClick |
|
|
OnClickedFunc |
Lambda implementation of OnClicked |
Name | Description | ||
---|---|---|---|
|
Initialize() |
Call this to initialize the class |
Name | Description | ||
---|---|---|---|
|
IsHitByClick ( |
Test if target is hit by a click |
|
|
OnClicked ( |
Notify Target that click ocurred |