Class CAAT.Event.MouseEvent
Defined in: MouseEvent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
was alt pressed ?
|
|
Was control pressed ?
|
|
was Meta key pressed ?
|
|
Transformed in-actor coordinate
|
|
Original mouse/touch screen coord
|
|
Was shift pressed ?
|
|
Actor the event was produced in.
|
|
Original mouse/touch event
|
|
scene time when the event was triggered.
|
Method Attributes | Method Name and Description |
---|---|
<private> |
__init()
Constructor delegate
|
init(x, y, sourceEvent, source, screenPoint, time)
|
|
Field Detail
alt
was alt pressed ?
control
Was control pressed ?
meta
was Meta key pressed ?
point
Transformed in-actor coordinate
screenPoint
Original mouse/touch screen coord
shift
Was shift pressed ?
source
Actor the event was produced in.
sourceEvent
Original mouse/touch event
time
scene time when the event was triggered.
Method Detail
<private>
__init()
Constructor delegate
getSourceEvent()
init(x, y, sourceEvent, source, screenPoint, time)
- Parameters:
- x
- y
- sourceEvent
- source
- screenPoint
- time
isAltDown()
isControlDown()
isMetaDown()
isShiftDown()