大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
.../ } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog); } } // 弹窗代码 class NormalDialog extends ui.normalDialogUI { constructor( text: string ) { super(); // 设置label文字 this.context.text = text; this.b...
来源: Laya_社区 发布时间: 20181216
...加触碰时间,mousedown的时候设置panel的_vScrollBar的visible为true。但是跟踪到定义里面发现注释为私有的,想知道是否有另外公开的方法来实现这个功能。另外EVENT里面有个DRAG_START的事件不知道如何才触发? 2018-08-28 添加评论 免费...
来源: Laya_社区 发布时间: 20180828
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
... this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.scene.addChild(this.camera); Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { ...
来源: Laya_社区 发布时间: 20191102
...mg,state):any{ this.swfAni = new Laya.MovieClip(); this.swfAni.load(strSWF,true,strImg); this.swfAni.x = (Laya.stage.width -1900) / 2; this.swfAni.y = (Laya.stage.height - 1200) / 2; this.swfAni.zOrder = 3; this.swfAni.loop = false; this.swfAni.play(0,false); this.swfAni.visible = true; this.swfAni....
来源: Laya_社区 发布时间: 20170505
...e.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); picture.on(Event.MOUSE_DOWN, this, onStartPicture(Picture); } function onStartDragPicture(e) { console.log('onStartDragPicture e', e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, design...
来源: Laya_社区 发布时间: 20181022
...化的时候 let trainItem = new trainItemUI(); trainItem.answer.visible = true; //这个是可以生效的 questionNode = trainItem; 后续有一个事件 option.on(Laya.Event.MOUSE_DOWN, null, function(e){ option.startDrag({}, false, 1) }) option.on(Laya.Event.MOUSE_MOVE, null, function(){ ...
来源: Laya_社区 发布时间: 20170921
... }感觉这个判断有问题,因为setPathId 之后 mHaveKey就设置为true了, 这样arcTo 后面的代码都不会运行了。绘制就没有了 而同样的arc方法的判断是这样的 public function arc(cx:Number, cy:Number, r:Number, startAngle:Number, endAngle:Number, counterclock...
来源: Laya_社区 发布时间: 20190708
... ReturnsBoolean — 如果 Rectangle 对象包含指定的点,则值为 true;否则为 false。 copyFrom()method public function copyFrom(source:Rectangle):Rectangle 复制 source 对象的属性值到此矩形对象中。 Parameters source:Rectangle — 源 Rectangle 对象。 ReturnsRectangl...
来源: Laya2.0_api 发布时间: 20190513
...number depth: number format: TextureFormat Default value mipmap: boolean = true canRead: boolean Default value sRGB: boolean = false Returns Texture2DArray Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 Readonly depth depth: number Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115