SViewport::OnKeyChar

Called after a character is entered while this widget has keyboard focus

Windows
MacOS
Linux

Override Hierarchy

SWidget::OnKeyChar()

SViewport::OnKeyChar()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp

Syntax

virtual FReply OnKeyChar
(
    const FGeometry & MyGeometry,
    const FCharacterEvent & InCharacterEvent
)

Remarks

Called after a character is entered while this widget has keyboard focus

Returns

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

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InCharacterEvent

Character 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