Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::MouseWheelEvent Class Reference

Public Member Functions

MouseWheelEvent duplicate ()
 

Public Attributes

Uint32 type
 MOUSEWHEEL More...
 
Uint32 timestamp
 
Uint32 windowID
 The window with mouse focus, if any More...
 
Uint32 which
 The mouse instance id, or TOUCH_MOUSEID More...
 
float x
 The amount scrolled horizontally, positive to the right and negative to the left More...
 
float y
 The amount scrolled vertically, positive away from the user and negative toward the user More...
 
Uint32 direction
 Set to one of the MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back More...
 

Member Function Documentation

MouseWheelEvent AltusUnified::MouseWheelEvent::duplicate ( )

Member Data Documentation

Uint32 AltusUnified::MouseWheelEvent::direction

Set to one of the MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back

Uint32 AltusUnified::MouseWheelEvent::timestamp
Uint32 AltusUnified::MouseWheelEvent::type
Uint32 AltusUnified::MouseWheelEvent::which

The mouse instance id, or TOUCH_MOUSEID

Uint32 AltusUnified::MouseWheelEvent::windowID

The window with mouse focus, if any

float AltusUnified::MouseWheelEvent::x

The amount scrolled horizontally, positive to the right and negative to the left

float AltusUnified::MouseWheelEvent::y

The amount scrolled vertically, positive away from the user and negative toward the user