大约有 198 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
Laya_社区(72) Laya2.0_api(59) laya_api(55) Laya2.0_示例(4) Laya_示例(3) Laya2.0_文档(3) Laya3.0_api(1) Laya3.0_文档(1)
...//设置mask bg2.mask = maskSp; Laya.stage.on("mousemove", this, onMouseMove); } function onMouseMove() { bg2.x = -Laya.stage.mouseX * 2; bg2.y = -Laya.stage.mouseY * 2; maskSp.x = Laya.stage.mouseX; ...
来源: Laya_社区 发布时间: 20170828
...seTouchDown(); break ; case "mouseup": this._mouseTouchUp(); break ; case "mousemove":; var mousePoint=Input3D._tempPoint; mousePoint.setTo(e.pageX,e.pageY); Laya.stage._canvasTransform.invertTransformPoint(mousePoint); this._mouseTouch.mousePositionX=mousePoint.x; this._mouseTouch.mousePositionY=mo...
来源: Laya_社区 发布时间: 20200119
...//设置mask bg2.mask = maskSp; Laya.stage.on("mousemove", this, onMouseMove); } function onMouseMove() { bg2.x = -Laya.stage.mouseX * 2; bg2.y = -Laya.stage.mouseY * 2; maskSp.x = Laya.stage.mouseX; ...
来源: Laya_社区 发布时间: 20170826
...WN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate(): void { if (Laya.Browser.onMobile) { this.AroundByMobileInput(); } else { this.Arou...
来源: Laya_社区 发布时间: 20170714
...WN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate(): void { if (Laya.Browser.onMobile) { this.AroundByMobileInput(); } else { this.Arou...
来源: Laya_社区 发布时间: 20190224
...。*/ static RIGHT_CLICK: string; /** 定义 mousemove 事件对象的 type 属性值。*/ static MOUSE_MOVE: string; /** 定义 mouseover 事件对象的 type 属性值。*/ static MOUSE_OVER: string; /** 定...
来源: Laya_社区 发布时间: 20170601
...卡在这个问题点上了 谢谢 186*****868 • 2019-06-04 12:03 @IBA: mouseMove(e: Laya.Event) { //触摸移动的整量 let touches = e.touches; if (touches && touches.length == 2) { let distance = this.getDistance(e.touches); //判断当前距离与上次距离变化,确定是放大...
来源: Laya_社区 发布时间: 20190531
...后调度。Sprite mousedown在显示对象上按下后调度。Sprite mousemove鼠标在对象身上进行移动后调度Sprite mouseout鼠标离开对象后调度。Sprite mouseover鼠标经过对象后调度。Sprite mouseup在显示对象抬起后调度。Sprite removed被父对象移除...
来源: laya_api 发布时间: 20170422
...调度。FrameClip mousedown在显示对象上按下后调度。Sprite mousemove鼠标在对象身上进行移动后调度Sprite mouseout鼠标离开对象后调度。Sprite mouseover鼠标经过对象后调度。Sprite mouseup在显示对象抬起后调度。Sprite removed被父对象移除...
来源: laya_api 发布时间: 20170422
...后调度。Sprite mousedown在显示对象上按下后调度。Sprite mousemove鼠标在对象身上进行移动后调度Sprite mouseout鼠标离开对象后调度。Sprite mouseover鼠标经过对象后调度。Sprite mouseup在显示对象抬起后调度。Sprite removed被父对象移除...
来源: laya_api 发布时间: 20170929