大约有 187 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0059 秒)
Laya_社区(124) Laya2.0_文档(21) Laya2.0_示例(11) Laya3.0_文档(9) Laya_示例(9) Laya2.0_api(6) laya_api(6) Laya3.0_api(1)
...wn Event Event Object Type: laya.events.EventEvent.type property = Event.MOUSE_DOWN在显示对象上按下后调度。 mousemove Event Event Object Type: laya.events.EventEvent.type property = Event.MOUSE_MOVE鼠标在对象身上进行移动后调度 mouseout Event Event Object Type: laya.ev...
来源: laya_api 发布时间: 20170929
...aya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } /** * 移动地图视口 */ private mouseMove():void{ var moveX:number = this.MapX - (Laya.stage.mouseX - this.mLastM...
来源: Laya2.0_文档 发布时间: 20210715
...onMouse(e:Event):void 对象的 Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK 事件侦听处理函数。 Button preinitialize():void[override] 预初始化。 RadioEvents Hide Inherited Events Show Inherited Events Event Summary Defined By added添加到...
来源: Laya2.0_api 发布时间: 20190513
....on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.MOUSE_UP, this, this.StopRecordAudio) } Loginyim() { YIMMain.callWithBack(function (n) { alert(n); }, "login",randomString(6)); } JoinRoom() { YIMMain.c...
来源: Laya_社区 发布时间: 20170722
...e.width / 5) * 2; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); let building: Laya.Sprite3D = scene.getChildByName( "Buliding" ) as Laya.Sprite3D; let moveArea: Laya.MeshSprite3D = building.getChildByName( "fence15" ) as Laya.MeshSprite3D; console.log(...
来源: Laya_社区 发布时间: 20200917
...onStart()方法中,加入鼠标按下监听 //Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); //鼠标点下事件,处理发射射线,检测碰撞物体 onMouseDown(e: Laya.Event) { let point = new Laya.Vector2(); point.x = Laya.stage.mouseX; point.y = Laya.stage.mouseY; //产生...
来源: Laya3.0_文档 发布时间: 20241014
...s(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当m...
来源: Laya_社区 发布时间: 20161109