/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/SingleKeyCaptureBehavior.h
USingleKeyCaptureBehaviorcaptures a key press and routes it to target via theIModifierToggleBehaviorTargetinterface. If you want similar behavior without actually capturing the key, you should useUKeyAsModifierInputBehavior.
class USingleKeyCaptureBehavior : public [UInputBehavior](API\Runtime\InteractiveToolsFramework\UInputBehavior)
TFunction< bool...
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 key
FKey
ModifierKey
Key that is used as modifier
FInputBehaviorM...
Modifiers
Modifier set for this behavior, internally initialized with check on ModifierKey
FKey
PressedButton
The key that was pressed to activate capture
IModifierToggle...
Target
Modifier Target object