FSceneViewport::OnCursorQuery

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

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.

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