Interface IActionEvent
interface IActionEvent {
additionalData?: any;
meshUnderPointer: Nullable<AbstractMesh>;
pointerX: number;
pointerY: number;
source: any;
sourceEvent?: any;
}
additionalData?: any;
meshUnderPointer: Nullable<AbstractMesh>;
pointerX: number;
pointerY: number;
source: any;
sourceEvent?: any;
}
Implemented by
Index
Properties
Optionaladditional Data
additionalData?: any
additional data for the event
mesh Under Pointer
The mesh that is currently pointed at (can be null)
pointer X
pointerX: number
The X mouse cursor position at the time of the event
pointer Y
pointerY: number
The Y mouse cursor position at the time of the event
source
source: any
The mesh or sprite that triggered the action
Optionalsource Event
sourceEvent?: any
the original (browser) event that triggered the ActionEvent
Interface used to define ActionEvent