Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform
Inheritance Hierarchy
- ICursor
- FGenericPlatformSoftwareCursor
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformSoftwareCursor.h |
Include | #include "GenericPlatform/GenericPlatformSoftwareCursor.h" |
Syntax
class FGenericPlatformSoftwareCursor : public ICursor
Remarks
Windows has special needs with RECT, and we don't need this class on Windows anyway, so just skip it.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Overridden from ICursor
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
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 |
![]() ![]() |
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 |