UWidgetBlueprintLibrary::SetHardwareCursor

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

Choose your operating system:

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.