MouseLookOptions
Defined in: src/modules/input/mouse-look.ts:50
Options for MouseLookProvider.
Properties
Section titled “Properties”cursor?
Section titled “cursor?”
optionalcursor?:object
Defined in: src/modules/input/mouse-look.ts:55
Cursor CSS while locked and unlocked. Omit to leave the cursor alone — the
provider then never touches target.style.
locked
Section titled “locked”
readonlylocked:string
unlocked
Section titled “unlocked”
readonlyunlocked:string
invertY?
Section titled “invertY?”
optionalinvertY?:boolean
Defined in: src/modules/input/mouse-look.ts:57
Invert the vertical axis, flight-style. Default false.
lockSource?
Section titled “lockSource?”
optionallockSource?:LockSource|null
Defined in: src/modules/input/mouse-look.ts:59
Lock-state source. Defaults to the global document when present.
sensitivity?
Section titled “sensitivity?”
optionalsensitivity?:number
Defined in: src/modules/input/mouse-look.ts:61
Radians per CSS pixel of relative motion. Default 0.0022.
target
Section titled “target”target:
MouseLookTarget
Defined in: src/modules/input/mouse-look.ts:63
Element to capture.