Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
Include | #include "Engine/EngineBaseTypes.h" |
Syntax
enum EMouseLockMode
{
DoNotLock,
LockOnCapture,
LockAlways,
LockInFullscreen,
}
Values
Name | Description |
---|---|
DoNotLock | Do not lock the mouse cursor to the viewport |
LockOnCapture | Only lock the mouse cursor to the viewport when the mouse is captured |
LockAlways | Always lock the mouse cursor to the viewport |
LockInFullscreen | Lock the cursor if we're in fullscreen |