Choose your operating system:
Windows
macOS
Linux
| ISlateViewport::OnKeyChar()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
virtual FReply OnKeyChar
(
const FGeometry & MyGeometry,
const FCharacterEvent & InCharacterEvent
)
Called by Slate when a character key is pressed while the viewport has focus
Whether the event was handled along with possible requests for the system to take action.
Parameter |
Description |
---|---|
MyGeometry |
Information about the location and size of the viewport |
MouseEvent |
Information about the character that was pressed |