FSlateApplication::ProcessMouseButtonDownEvent

Called by the native application in response to a mouse button press.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

bool ProcessMouseButtonDownEvent
(
    const TSharedPtr< FGenericWindow > & PlatformWindow,
    const FPointerEvent & InMouseEvent
)

Remarks

Called by the native application in response to a mouse button press. Routs the event to Slate Widgets.

Returns

Was this event handled by the Slate application?

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss