UWidgetBlueprintLibrary::SetHardwareCursor

Loads or sets a hardware cursor from the content directory in the game.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h

Include

#include "Blueprint/WidgetBlueprintLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp

Syntax

static bool SetHardwareCursor
(
    UObject * WorldContextObject,
    EMouseCursor::Type CursorShape,
    FName CursorName,
    FVector2D HotSpot
)

Remarks

Loads or sets a hardware cursor from the content directory in the game.

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