UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

38 lines 985 B
import { eventLoopDefaults, eventLoopSchema } from "./IEventLoop"; export class LingoMouseEvent { clientX; clientY; xNorm; yNorm; point; distance; target; constructor(clientX, clientY, xNorm, yNorm, point, distance, target) { this.clientX = clientX; this.clientY = clientY; this.xNorm = xNorm; this.yNorm = yNorm; this.point = point; this.distance = distance; this.target = target; } } export const mouseSchema = { ...eventLoopSchema, onClick: Function, onRightClick: Function, onMouseMove: Function, onMouseDown: Function, onMouseUp: Function, onMousePress: Function }; export const mouseDefaults = { ...eventLoopDefaults, onClick: undefined, onRightClick: undefined, onMouseMove: undefined, onMouseDown: undefined, onMouseUp: undefined, onMousePress: undefined }; //# sourceMappingURL=IMouse.js.map