Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Widgets > SWindow
- SWidget::OnMouseButtonDown()
- SWindow::OnMouseButtonDown()
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
Include | #include "Widgets/SWindow.h" |
Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp |
virtual FReply OnMouseButtonDown
&40;
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
&41;
Remarks
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. This event is bubbled. Whether the event was handled along with possible requests for the system to take action.
Parameters
Name | Description |
---|---|
MyGeometry | The Geometry of the widget receiving the event |
MouseEvent | Information about the input event |