Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/ISlateViewport
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include | #include "Rendering/RenderingCommon.h" |
virtual FReply OnKeyChar
(
const FGeometry & MyGeometry,
const FCharacterEvent & InCharacterEvent
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| MyGeometry | Information about the location and size of the viewport |
| MouseEvent | Information about the character that was pressed |