ISlateViewport::OnCursorQuery

Called when Slate needs to know what the mouse cursor should be.

Windows
MacOS
Linux

Override Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h

Include

#include "Rendering/RenderingCommon.h"

Syntax

virtual FCursorReply OnCursorQuery
(
    const FGeometry & MyGeometry,
    const FPointerEvent & CursorEvent
)

Remarks

Called when Slate needs to know what the mouse cursor should be.

Returns

FCursorReply::Unhandled() if the event is not handled; FCursorReply::Cursor() otherwise.

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