Navigation
API > API/Runtime > API/Runtime/ApplicationCore
Windows has special needs with RECT, and we don't need this class on Windows anyway, so just skip it.
| Name | FGenericPlatformSoftwareCursor |
| Type | class |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformSoftwareCursor.h |
| Include Path | #include "GenericPlatform/GenericPlatformSoftwareCursor.h" |
Syntax
class FGenericPlatformSoftwareCursor : public ICursor
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGenericPlatformSoftwareCursor() |
GenericPlatform/GenericPlatformSoftwareCursor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FGenericPlatformSoftwareCursor() |
GenericPlatform/GenericPlatformSoftwareCursor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShow | bool | GenericPlatform/GenericPlatformSoftwareCursor.h | ||
| CurrentPosition | FVector2D | GenericPlatform/GenericPlatformSoftwareCursor.h | ||
| CurrentType | EMouseCursor::Type | GenericPlatform/GenericPlatformSoftwareCursor.h | ||
| CursorClipRect | FIntRect | GenericPlatform/GenericPlatformSoftwareCursor.h |
Functions
Public
Overridden from ICursor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D GetPosition() |
The position of the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void GetSize
(
int32& Width, |
Gets the size of the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual EMouseCursor::Type GetType() |
Gets the current type of the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void Lock
(
const RECT*const Bounds |
Locks the cursor to the passed in bounds | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void SetPosition
(
const int32 X, |
Sets the position of the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void SetType
(
const EMouseCursor::Type InNewCursor |
Sets the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void SetTypeShape
(
EMouseCursor::Type InCursorType, |
Allows overriding the shape of a particular cursor. | GenericPlatform/GenericPlatformSoftwareCursor.h | |
virtual void Show
(
bool bShow |
Shows or hides the cursor | GenericPlatform/GenericPlatformSoftwareCursor.h |