• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0046 秒)

421. laya.net.HttpRequest [ 48%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: Laya2.0_api 发布时间: 20190513

422. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 48%]

... 2; ufo.y = Laya.stage.height / 2; ufo.play("ludo_ufo_kaishi", false); ufo.once(Laya.Event.STOPPED, this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf();   } });  })); }  genSpine...

来源: Laya_社区 发布时间: 20220530

423. 图片像素精准点击问题! [ 48%]

...l(t: Laya.Image) { Laya.Tween.to(t, { scaleX: 0.95, scaleY: 0.95 }, 66); t.once(Laya.Event.CLICK, t, () => Laya.SoundManager.playSound(Laya.SButton.globalClickAudio, 1)); } private scaleBig(t: Laya.Image) { Laya.Tween.to(t, { scaleX: 1, scaleY: 1 }, 66); } } 2018-10-20 0 2 分享 微博 QZONE 微...

来源: Laya_社区 发布时间: 20180731

424. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 48%]

...口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var ...

来源: Laya2.0_文档 发布时间: 20210715

425. 关于WebGL矢量图的遮罩问题 [ 48%]

...Laya.WebGL); } else{ Laya.init(1024, 1024); } //等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Laya.stage.addChild(sprite) //正方形 sprite.graphics.drawPoly(0, 0, [100, 100, 100, 200, 200, 200, 200, 100], "#fffff...

来源: Laya_社区 发布时间: 20180224

426. laya.d3.core.MeshRenderer [ 48%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: Laya2.0_api 发布时间: 20190513

427. laya.d3.core.material.PBRMaterial_API3.0 [ 47%]

...bedoTexture detailNormalScale detailNormalTexture detailTilingOffset emissionColor emissionIntensity emissionTexture enableEmission enableVertexColor gpuMemory id materialRenderMode normalTexture normalTextureScale obsolute occlusionTexture occlusionTextureStrength parallaxTexture parallaxTextureSca...

来源: Laya3.0_api 发布时间: 20231115

428. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 47%]

...(0, true); this.img_sample.addChild(hero); this.sk_hero = hero; Laya.timer.once(200, this, () => { hero.on(Laya.Event.CLICK, this, this.onHeroClick); let bbox = hero.getSelfBounds(); hero.hitArea = bbox; }); } 附件 : --> skeleton.zip 2018-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微...

来源: Laya_社区 发布时间: 20180905

429. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 47%]

...IDTH + "," + DIALOG_HEIGHT; console.log("SHOW"); dialog.show(); Laya.timer.once(3000, this, function () { console.log("SHOW"); dialog.show(); }); } })();http://layaair.ldc.layabox.com/demo/?UI_Dialog 直接到示例下跑一跑就知道了... @cuixueying     demo.zip 2017-03-03 0 3 分享 微博 Q...

来源: Laya_社区 发布时间: 20170303

430. laya接入fairyGUI的时候资源加载方式? [ 47%]

...riority = priority; } else { this.priority = 1; } if (progress) { progress.once = false; } let loadData: Array<any> = [ { url: resKey + "." + fgui.UIConfig.packageFileExtension, type: Laya.Loader.BUFFER } ] Laya.loader.load(loadData, Laya.Handler.create(this, this.onLoadPackageComplete, [resKe...

来源: Laya_社区 发布时间: 20191107