| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseBehaviors/KeyAsModifierInputBehavior.h |
Include |
#include "BaseBehaviors/KeyAsModifierInputBehavior.h" |
class UKeyAsModifierInputBehavior : public UInputBehavior
UKeyAsModifierInputBehavior converts a specific key press/release into a "Modifier" toggle via the IModifierToggleBehaviorTarget interface
Name | Description | ||
---|---|---|---|
|
ModifierCheckFunc |
WantsCapture() will only return capture request if this function returns true (or is null) Intended to be used for alt/ctrl/cmd/shift modifiers on the main ModifierKey |
|
|
ModifierKey |
Key that is used as modifier |
|
|
Modifiers |
Modifier set for this behavior, internally initialized with check on ModifierKey |
|
|
PressedButton |
The key that was pressed to activate capture |
|
|
Target |
Modifier Target object |
Name | Description | |
---|---|---|
|
UKeyAsModifierInputBehavior() |
Name | Description | ||
---|---|---|---|
|
Initialize ( |
Initialize this behavior with the given Target |
Name | Description | ||
---|---|---|---|
|
FInputCaptur... |
BeginCapture ( |
Called after WantsCapture() returns a capture request that was accepted |
|
ForceEndCapture ( |
If this is called, the Behavior has forcibly lost capture (eg due to app losing focus for example) and needs to clean up accordingly |
|
|
EInputDevice... |
GetSupportedDevices() |
Which device types does this Behavior support |
|
FInputCaptur... |
UpdateCapture ( |
Called for each new input event during a capture sequence. |
|
FInputCaptur... |
WantsCapture ( |
Given the input state, does this Behavior want to begin capturing some input devices? |