大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0075 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... public function StorePage() { this.storelist.array = HostData.array //对list进行默认加载赋值 this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index ...
来源: Laya_社区 发布时间: 20180503
... 'clientWidth', get: function get() { var ret = parseInt(this.style.fontSize, 10) * this.innerHTML.length; return Number.isNaN(ret) ? this.width : ret; } }, { key: 'clientHeight', get: function get() { var ret = parseInt(this.st...
来源: Laya_社区 发布时间: 20180512
...句话 界面布局就会乱 请问是什么问题呢 let { x, y } = this._modelPnl.localToGlobal(new Laya.Point(0, 0)) let { x: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height)) let w = x2 - x le...
来源: Laya_社区 发布时间: 20200401
... laya.net.ResourceVersion.enable(LoadingView_configUrl,Laya.Handler.create(this,this.onProLoadedBef),2); _proto.onProLoadedBef =function() { var ProResArray = [ {url : "res/atlas/com/loading.atlas" , type : Laya.Loader.ATLAS}, ]; Laya.loader.load(ProRes...
来源: Laya_社区 发布时间: 20180711
...现是在HTMLImageElement类中的onloaded方法里,tex是null,同时this._url也是null。 蛋疼的是这里报错后,后续的其他loader凡是图片都失败。 附件 : --> 2019-10-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20191023
...发现 屏幕坐标转世界坐标的时候 数据已经出错了 this._camera.viewportPointToRay(this.rayStartPos, this.ray); 这个时候 this.ray在小游戏平台的数据已经出错了 2019-11-09 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目...
来源: Laya_社区 发布时间: 20191109
...ove找到 box2d.b2BroadPhase.prototype.UnBufferMove = function(a) { a = this.m_moveBuffer.indexOf(a); this.m_moveBuffer[a] = null } ; 替换为: box2d.b2BroadPhase.prototype.UnBufferMove = function(a) { let ba=0; while(true){ ba = this.m_moveBuffer.indexOf(a,ba); if(ba<0)break; this.m_m...
来源: Laya_社区 发布时间: 20190407
...ttp://image.xxx.com/ 2. 使用Laya.loader.load("1.png",Laya.Handler.create(this,this.complete)); 3.//加载完成回调处理 complete():void{} 2018-05-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sogetsu 相关问题 请问LayaAir...
来源: Laya_社区 发布时间: 20170220
...行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3...
来源: Laya_社区 发布时间: 20191215
...下: public function GraphicsAni() { super(); if (Render.isConchNode) { this["drawSkin"] = function(skin:*):void { skin.transform || (skin.transform = Matrix.EMPTY); __JS__("this._addCmd([skin])"); this.setSkinMesh&&this.setSkinMesh( skin._ps, skin.mVBData, skin.mEleNum, 0, skin.mTexture,s...
来源: Laya_社区 发布时间: 20180416