UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

31 lines 833 B
/** * Event Types */ export var DeviceInputEventType; (function (DeviceInputEventType) { // Pointers /** PointerMove */ DeviceInputEventType[DeviceInputEventType["PointerMove"] = 0] = "PointerMove"; /** PointerDown */ DeviceInputEventType[DeviceInputEventType["PointerDown"] = 1] = "PointerDown"; /** PointerUp */ DeviceInputEventType[DeviceInputEventType["PointerUp"] = 2] = "PointerUp"; })(DeviceInputEventType || (DeviceInputEventType = {})); /** * Constants used for Events */ export class EventConstants { } /** * Pixel delta for Wheel Events (Default) */ EventConstants.DOM_DELTA_PIXEL = 0x00; /** * Line delta for Wheel Events */ EventConstants.DOM_DELTA_LINE = 0x01; /** * Page delta for Wheel Events */ EventConstants.DOM_DELTA_PAGE = 0x02; //# sourceMappingURL=deviceInputEvents.js.map