Skip to content
MouseLockMode

界面 / MouseLockMode

MouseLockMode Enumeration

鼠标锁定模式

Table of contents

Enumeration Members

DoNotLock = 0
LockAlways = 2
LockInFullscreen = 3
LockOnCapture = 1

Enumeration Members

DoNotLock

DoNotLock = 0

不会将鼠标光标锁定到视口


LockAlways

LockAlways = 2

始终将鼠标光标锁定到视口


LockInFullscreen

LockInFullscreen = 3

处于全屏状态时将锁定光标


LockOnCapture

LockOnCapture = 1

仅在捕获鼠标时将鼠标光标锁定到视口