CameraEventAggregator
Aggregates input events. For example, suppose the following inputs are received between frames: left mouse button down, mouse move, mouse move, left mouse button up. These events will be aggregated into one event with a start and end position of the mouse.
Parameters
The element to handle events for. Default value - document
See also
Properties
Functions
Gets the time the button was pressed or the touch was started.
Gets the time the button was released or the touch was ended.
Gets the start and end position of the last move event (not the aggregated event).
Gets the aggregated start and end position of the current event.
Gets the mouse position that started the aggregation.
Gets whether the mouse button is down or a touch has started.
Returns true if this object was destroyed; otherwise, false.
Gets if a mouse button down or touch has started and has been moved.