getMouseScrollOffsetX

WindowModuleInterface::getMouseScrollOffsetX

Returns the horizontal mouse scroll offset between the last and current frame.

Declaration

virtual float getMouseScrollOffsetX(WindowID windowID) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to check the horizontal scroll wheel offset on.

Returns

The horizontal mouse scroll offset between the last and current frame.

Notes

The horizontal mouse scroll often applies to a laptop’s trackpad. For a mouse scroll wheel, see getMouseScrollOffsetY.