Navigation
API > API/Runtime > API/Runtime/ApplicationCore
An implementation of an ICursor specifically for use when rendering off screen. This cursor has no platform backing so instead keeps track of its position and other properties itself.
| Name | FNullCursor |
| Type | class |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/Null/NullCursor.h |
| Include Path | #include "Null/NullCursor.h" |
Syntax
class FNullCursor : public ICursor
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNullCursor() |
Null/NullCursor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNullCursor() |
Null/NullCursor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedGlobalXPosition | int32 | Cached global X position | Null/NullCursor.h | |
| CachedGlobalYPosition | int32 | Cached global Y position | Null/NullCursor.h |
Functions
Public
Overridden from ICursor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D GetPosition() |
The position of the cursor | Null/NullCursor.h | |
virtual void GetSize
(
int32& Width, |
Gets the size of the cursor | Null/NullCursor.h | |
virtual EMouseCursor::Type GetType() |
Gets the current type of the cursor | Null/NullCursor.h | |
virtual void Lock
(
const RECT*const Bounds |
Locks the cursor to the passed in bounds | Null/NullCursor.h | |
virtual void SetPosition
(
const int32 X, |
Sets the position of the cursor | Null/NullCursor.h | |
virtual void SetType
(
const EMouseCursor::Type InNewCursor |
Sets the cursor | Null/NullCursor.h | |
virtual void SetTypeShape
(
EMouseCursor::Type InCursorType, |
Allows overriding the shape of a particular cursor. | Null/NullCursor.h | |
virtual void Show
(
bool bShow |
Shows or hides the cursor | Null/NullCursor.h |