FSceneViewport::OnCursorQuery

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateViewport::OnCursorQuery()

FSceneViewport::OnCursorQuery()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h

Include

#include "Slate/SceneViewport.h"

Source

/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp

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.