Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform
Inheritance Hierarchy
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ICursor.h |
Include | #include "GenericPlatform/ICursor.h" |
Syntax
class ICursor
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~ICursor () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void * | CreateCursorFromFile
(
const FString& InPathToCursorWithoutExtension, |
Creates a hardware cursor from file. Can return nullptr when not available. |
![]() ![]() |
void * | CreateCursorFromRGBABuffer
(
const FColor* Pixels, |
Creates a hardware cursor from bitmap data. Can return nullptr when not available. |
![]() ![]() |
FVector2D | GetPosition () |
The position of the cursor |
![]() ![]() |
void | GetSize
(
int32& Width, |
Gets the size of the cursor |
![]() ![]() |
EMouseCursor::Type | GetType () |
Gets the current type of the cursor |
![]() ![]() ![]() |
bool | Is CreateCursorFromRGBABuffer() supported by this cursor? | |
![]() |
void | Lock
(
const RECT*const Bounds |
Locks the cursor to the passed in bounds |
![]() |
void | SetPosition
(
const int32 X, |
Sets the position of the cursor |
![]() |
void | SetType
(
const EMouseCursor::Type InNewCursor |
Sets the cursor |
![]() |
void | SetTypeShape
(
EMouseCursor::Type InCursorType, |
Allows overriding the shape of a particular cursor. |
![]() |
void | Show
(
bool bShow |
Shows or hides the cursor |