Skip to main content
WheelState = object
Defined in: modules/input/src/keyboard-mouse/mouse.types.ts:62 Snapshot of the scroll wheel state for the current frame.

Remarks

Returned by InputLibrary.getWheelState. All deltas accumulate within the frame and are reset to 0 at the start of the next frame.

Properties

deltaX

deltaX: number
Defined in: modules/input/src/keyboard-mouse/mouse.types.ts:64 Accumulated horizontal scroll delta.

deltaY

deltaY: number
Defined in: modules/input/src/keyboard-mouse/mouse.types.ts:66 Accumulated vertical scroll delta.

deltaZ

deltaZ: number
Defined in: modules/input/src/keyboard-mouse/mouse.types.ts:68 Accumulated depth (z-axis) scroll delta.