ISlateViewport::OnCursorQuery

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

Choose your operating system:

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.