FGenericPlatformSoftwareCursor::Lock

Locks the cursor to the passed in bounds

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ICursor::Lock()

FGenericPlatformSoftwareCursor::Lock()

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformSoftwareCursor.h

Include

#include "GenericPlatform/GenericPlatformSoftwareCursor.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformSoftwareCursor.cpp

Syntax

virtual void Lock
(
    const RECT *const Bounds
)

Remarks

Locks the cursor to the passed in bounds

Parameters

Parameter

Description

Bounds

The bounds to lock the cursor to. Pass NULL to unlock.