FViewportClient::MapCursor

Called to map a cursor reply to an actual widget to render.

Windows
MacOS
Linux

Override Hierarchy

FViewportClient::MapCursor()

UGameViewportClient::MapCursor()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

virtual TOptional< TSharedRef< SWidget > > MapCursor
(
    FViewport * Viewport,
    const FCursorReply & CursorReply
)

Remarks

Called to map a cursor reply to an actual widget to render.

Returns

the widget that should be rendered for this cursor, return TOptional<TSharedRef>() if no mapping.

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