UViewportInteractor::HandleInputKey

Handles key input and translates it actions C++ Child classes are expected to to call there super versions of this.

Windows
MacOS
Linux

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractor.h

Include

#include "ViewportInteractor.h"

Syntax

bool HandleInputKey
(
    class FEditorViewportClient & ViewportClient,
    const FKey Key,
    const EInputEvent Event
)

Remarks

Handles key input and translates it actions C++ Child classes are expected to to call there super versions of this. BP will have there "Receive" versions called from within these function and do not have to call there parents. They simply need to return if they handled the input or not.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss