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

Public Member Functions

MouseMotionEvent duplicate ()
 

Public Attributes

Uint32 type
 MOUSEMOTION More...
 
Uint32 timestamp
 
Uint32 windowID
 The window with mouse focus, if any More...
 
Uint32 which
 The mouse instance id, or TOUCH_MOUSEID More...
 
Uint32 state
 The current button state More...
 
float x
 X coordinate, relative to window More...
 
float y
 Y coordinate, relative to window More...
 
float xrel
 The relative motion in the X direction More...
 
float yrel
 The relative motion in the Y direction More...
 

Member Function Documentation

MouseMotionEvent AltusUnified::MouseMotionEvent::duplicate ( )

Member Data Documentation

Uint32 AltusUnified::MouseMotionEvent::state

The current button state

Uint32 AltusUnified::MouseMotionEvent::timestamp
Uint32 AltusUnified::MouseMotionEvent::type
Uint32 AltusUnified::MouseMotionEvent::which

The mouse instance id, or TOUCH_MOUSEID

Uint32 AltusUnified::MouseMotionEvent::windowID

The window with mouse focus, if any

float AltusUnified::MouseMotionEvent::x

X coordinate, relative to window

float AltusUnified::MouseMotionEvent::xrel

The relative motion in the X direction

float AltusUnified::MouseMotionEvent::y

Y coordinate, relative to window

float AltusUnified::MouseMotionEvent::yrel

The relative motion in the Y direction