SColorGradientEditor::OnKeyDown

Called after a key is pressed when this widget has focus (this event bubbles if not handled)

Windows
MacOS
Linux

Override Hierarchy

SWidget::OnKeyDown()

SColorGradientEditor::OnKeyDown()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SColorGradientEditor.h

Include

#include "SColorGradientEditor.h"

Source

/Engine/Source/Editor/UnrealEd/Private/SColorGradientEditor.cpp

Syntax

virtual FReply OnKeyDown
(
    const FGeometry & MyGeometry,
    const FKeyEvent & InKeyEvent
)

Remarks

Called after a key is pressed when this widget has focus (this event bubbles if not handled)

Returns

Returns whether the event was handled, along with other possible actions

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InKeyEvent

Key event

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