Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FSlateApplication
Description
Called by the native application in response to a mouse button press. Routs the event to Slate Widgets.
| Name | ProcessMouseButtonDownEvent |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool ProcessMouseButtonDownEvent
(
const TSharedPtr < FGenericWindow > & PlatformWindow,
const FPointerEvent & InMouseEvent
)
Was this event handled by the Slate application?
Parameters
| Name | Remarks |
|---|---|
| PlatformWindow | The platform window the event originated from, used to set focus at the platform level. If Invalid the Mouse event will work but there will be no effect on the platform. |
| InMouseEvent | Mouse event |