PointerLockOptions Class

The options of Element.RequestPointerLock (https://w3c.github.io/pointerlock/#pointerlockoptions-dictionary).

public sealed class PointerLockOptions

Constructors

NameDescription
PointerLockOptions()

PointerLockOptions()

public PointerLockOptions()

No documentation is available.

Properties

NameDescription
UnadjustedMovementGets whether the movements of the pointer must not be adjusted by the platform (e.g. by the acceleration of the mouse).

UnadjustedMovement

PointerLock.cs

Gets whether the movements of the pointer must not be adjusted by the platform (e.g. by the acceleration of the mouse).

public bool UnadjustedMovement { get; init; }