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

Public Member Functions

MouseButtonEvent duplicate ()
 

Public Attributes

Uint32 type
 MOUSEBUTTONDOWN or MOUSEBUTTONUP More...
 
Uint32 timestamp
 
Uint32 windowID
 The window with mouse focus, if any More...
 
Uint32 which
 The mouse instance id, or TOUCH_MOUSEID More...
 
Uint8 button
 The mouse button index More...
 
Uint8 state
 PRESSED or RELEASED More...
 
Uint8 clicks
 1 for single-click, 2 for double-click, etc. More...
 
Uint8 padding1
 
float x
 X coordinate, relative to window More...
 
float y
 Y coordinate, relative to window More...
 

Member Function Documentation

MouseButtonEvent AltusUnified::MouseButtonEvent::duplicate ( )

Member Data Documentation

Uint8 AltusUnified::MouseButtonEvent::button

The mouse button index

Uint8 AltusUnified::MouseButtonEvent::clicks

1 for single-click, 2 for double-click, etc.

Uint8 AltusUnified::MouseButtonEvent::padding1
Uint8 AltusUnified::MouseButtonEvent::state
Uint32 AltusUnified::MouseButtonEvent::timestamp
Uint32 AltusUnified::MouseButtonEvent::type
Uint32 AltusUnified::MouseButtonEvent::which

The mouse instance id, or TOUCH_MOUSEID

Uint32 AltusUnified::MouseButtonEvent::windowID

The window with mouse focus, if any

float AltusUnified::MouseButtonEvent::x

X coordinate, relative to window

float AltusUnified::MouseButtonEvent::y

Y coordinate, relative to window