unreal.MouseLockMode
¶
- class unreal.MouseLockMode¶
Bases:
EnumBase
EMouse Lock Mode
C++ Source:
Module: Engine
File: EngineBaseTypes.h
- DO_NOT_LOCK: MouseLockMode¶
Do not lock the mouse cursor to the viewport
- Type:
0
- LOCK_ALWAYS: MouseLockMode¶
Always lock the mouse cursor to the viewport
- Type:
2
- LOCK_IN_FULLSCREEN: MouseLockMode¶
Lock the cursor if we’re in fullscreen
- Type:
3
- LOCK_ON_CAPTURE: MouseLockMode¶
Only lock the mouse cursor to the viewport when the mouse is captured
- Type:
1