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

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

481. Skeleton骨骼动画内存泄漏 [ 41%]

...下 已经解决这个问题  修改 laya.core.js var Texture 对象里 __proto.destroy=function(){ if (!this._destroyed){ this._destroyed=true; if (this.bitmap){ this.bitmap._removeReference(this._referenceCount); if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2...

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

482. stage.clientScaleX/Y这个值有什么用呢? [ 41%]

...些缩放等一些信息修改过来..... PS: 你可以追下core源码__proto.setScreenSize这个方法.... 因为API里面stage里面是暴露了一个叫ClientScaleX/Y的属性的(只读) 我希望这个属性能发挥它本来应该有的效果 ..... 而已.... godssl • 2017-08-18 16:29 @Monic...

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

483. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 40%]

...想在末尾增加,但是每次都给我翻倍的增加,如何解决 _proto.room_xinxi=function(){ this.roombg=new Laya.Image($mj.Curr_Game_ImagePath + "hall/room_bg.png"); this.roombg.pos(50,150); this.addChild(this.roombg); var button = new Sprite(); button.loadImage($mj.Curr_Game_ImagePath + ...

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

484. Laya 绑定显示内容到骨骼动画 [ 39%]

...添加通过帧数来获取矩阵的方法 //返回变化矩阵     __proto.getResultMatrixByFrame=function(index){         var matrix=this._resultMatrixCache[index];         if(matrix){             return matrix;         }         return this.resul...

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

485. 我升级引擎到1.7.16beta,从Unity导入的模型就遇到问题了,可以帮我查看一下吗? [ 39%]

...误讯息: value.cloneTo is not a function     at AnimationTransform3D.__proto.setLocalRotation  LayaScene_Scene_LightMap.zip 2018-02-01 0 1 分享 微博 QZONE 微信 mobile3Dbin 赞同来自: 1.7.12、1.7.13的版号不是插件,是引擎的版号。 2018-02-01 0 1 分享 微博 QZONE 微信 ...

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

486. 【Laya2.1BUG】 给view设置runtime后,类型是any [ 39%]

...lManager.tsCodeTplPst; } tplStr="{!imports!}\n"+tplStr; break ;5,搜索__proto.objToUI,找到这个函数 把 if(this.projectSetting.codeType==0){ imports+=" import "+lib+";\n"; }改成: if(this.projectSetting.codeType==0){ imports+=" import "+lib+";\n"; }else if(this.projectSetting.codeType==...

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

487. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 38%]

...有关于Skeleton动画的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=i...

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

488. drawTexture 画出来的数据会有以前的数据 [ 38%]

...提示资源加载不出来 socket收到服务器的数据如何解析成proto对象? 怎么关浏览器编译出来的“不受支持的命令行”弹窗 微信小游戏Laya.LocalStorage.getItem数据丢失 问题状态 最新活动: 2018-01-13 10:59 浏览: 1574 关注: 2 人 熊猫大侠 • 2...

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

489. 向官方反映1.75引擎库后 事件执行 发生的bug [ 37%]

... /**         *执行事件处理。         */         __proto.runEvent=function(){             var len=this._eventList.length;             if (!len)return;             var _this=this;             var i=0;             var localevnetList ...

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

490. getimagedata直接调用无法获取有效像素问题 [ 36%]

...计问题。 而在调用了 texture的 getpixels 得到有效数据。__proto.getPixels=function(x,y,width,height){ if (Render.isWebGL){ return RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-...

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