大约有 397 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)
...Bitmap、ImageData, *设置之后纹理宽高可能会发生变化。 */ __proto.loadImageSource=function(source,premultiplyAlpha){ (premultiplyAlpha===void 0)&& (premultiplyAlpha=false); var width=source.width; var height=source.height; this._width=width; this._height=height; this._setWarpM...
来源: Laya_社区 发布时间: 20190809
...s.skin=url; } __class(LabelAtlas,'laya.customUI.LabelAtlas',_super); var __proto=LabelAtlas.prototype; return LabelAtlas; })(Clip) xml如下: <?xml version="1.0" encoding="utf-8"?> <uiComp> <!-- drag:0-不能拖动,1-水平,2-垂直,3-全部 --> <Labe...
来源: Laya_社区 发布时间: 20170206
关于分离模式View类的loadUI方法 __proto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 发现uiMap这个容器永远都是空的,无法调用到createView。请指点。 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180512
...res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer=WebAudioSound._miniBuffer;}catch (e){WebAudioSoundChannel._tryCleanFailed=true;} } 求解,谢谢 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170105
...eckMask和removeSelf的顺序反了,自己改下,laya.ui.js __proto.doClose=function(dialog){ var isModalTmp = dialog.isModal; // dialog.isModal && this._checkMask(); dialog.closeHandler && dialog.closeHandler.runWith(dialog.closeT...
来源: Laya_社区 发布时间: 20180729
...el1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180206
...:添加 uniform vec2 iTime 会在提交shader到GPU时,报错 __proto.upload里报错解决 ((value=shaderValue[one.name])!==null) 后加一个判断((value=shaderValue[one.name])!==undefined) 附件 : --> 2018-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20181123
...bin/ProjectExportTools/LayaAirCmdTool.max.js:25740:21) at LayaAirCmdTool.__proto.init (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:427:34) at new LayaAirCmdTool (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:410:9) at /usr/lib/node_modules/...
来源: Laya_社区 发布时间: 20170406
...就会报错。 TypeError: Cannot read property 'text' of null at Label.__proto (/bin/libs/laya.ui.js:4365:19) at Label.remoteFunction (<anonymous>:2:14) 附件 : --> 2018-03-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180311
...。但是试了之后发现无效。 查看getDrawSprite的源代码: __proto.getDrawSprite=function(gridX,gridY){ var tSprite=new GridSprite(); tSprite.relativeX=gridX *this._map.gridWidth; tSprite.relativeY=gridY *this._map.gridHeight; tSprite.initData(this._map); this._gridSpriteArray.push(tSpr...
来源: Laya_社区 发布时间: 20161228