![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WindowsCursor.h>
Inheritance diagram for FWindowsCursor:Public Member Functions | |
| FWindowsCursor () | |
| virtual | ~FWindowsCursor () |
| virtual void * | CreateCursorFromFile (const FString &InPathToCursorWithoutExtension, FVector2D HotSpot) override |
| virtual bool | IsCreateCursorFromRGBABufferSupported () const override |
| virtual void * | CreateCursorFromRGBABuffer (const FColor *Pixels, int32 Width, int32 Height, FVector2D InHotSpot) override |
| virtual FVector2D | GetPosition () const override |
| virtual void | SetPosition (const int32 X, const int32 Y) override |
| virtual void | SetType (const EMouseCursor::Type InNewCursor) override |
| virtual EMouseCursor::Type | GetType () const override |
| virtual void | GetSize (int32 &Width, int32 &Height) const override |
| virtual void | Show (bool bShow) override |
| virtual void | Lock (const RECT *const Bounds) override |
| virtual void | SetTypeShape (EMouseCursor::Type InCursorType, void *CursorHandle) override |
Public Member Functions inherited from ICursor | |
| virtual | ~ICursor ()=default |
| FWindowsCursor::FWindowsCursor | ( | ) |
|
virtual |
|
overridevirtual |
Creates a hardware cursor from file. Can return nullptr when not available.
Reimplemented from ICursor.
|
overridevirtual |
Creates a hardware cursor from bitmap data. Can return nullptr when not available.
Reimplemented from ICursor.
|
overridevirtual |
The position of the cursor
Implements ICursor.
Gets the size of the cursor
Implements ICursor.
|
inlineoverridevirtual |
Gets the current type of the cursor
Implements ICursor.
Is CreateCursorFromRGBABuffer() supported by this cursor?
Reimplemented from ICursor.
Locks the cursor to the passed in bounds
| Bounds | The bounds to lock the cursor to. Pass NULL to unlock. |
Implements ICursor.
Sets the position of the cursor
Implements ICursor.
|
overridevirtual |
Sets the cursor
Implements ICursor.
|
overridevirtual |
Allows overriding the shape of a particular cursor.
Implements ICursor.
Shows or hides the cursor
| bShow | true to show the mouse cursor, false to hide it |
Implements ICursor.