大约有 4,095 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3318) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(114) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...rt问题 在设置scale后调用moveViewPort会出现跳位问题,例如 this.tiledMap.scale = 1.1 this.tiledMap.moveViewPort(0,0); 实际的this.tiledMap._viewPortX是50.9,this.tiledMap._viewPortY是39.0,这样的话根本不肯能在继续正常使用moveViewPort了。 看了下代码,在...
来源: Laya_社区 发布时间: 20180324
...agonbones换装 当我切换某个卡槽的图片的时候没有效果 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplay...
来源: Laya_社区 发布时间: 20180131
....js应该怎么写??我这样写set的时候报错 Uncaught TypeError: this._setValue is not a function at CustomMaterial.setAlphaTestValue (CustomMaterial.js:34) at LayaAir3D.js:94CustomMaterial.setAlphaTestValue @ CustomMaterial.js:34 (anonymous) function CustomMaterial() { CustomMateria...
来源: Laya_社区 发布时间: 20170526
...,报错如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser....
来源: Laya_社区 发布时间: 20191230
Warning!,this class[MiniAdpter] already exist: Object {init: } Warning!,this class[MiniAdpter] already exist: Object {init: } 为什么报这个警告 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w11...
来源: Laya_社区 发布时间: 20180427
...gb); ts代码设置u_ShadowMapTex onUpdate(){ this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false); let v:Matrix4x4 = this.ShadowCamera.viewMatrix; let p:Matrix4x4 = this.ShadowCamera.projectionMatrix...
来源: Laya_社区 发布时间: 20200229
...引用,应该怎么去引用呢? 代码如下:listP是一个UI页面. 用this.lost1,空对象,但是用this._childs[5]是可以的 var lose1=new Laya.Animation(); lose1.loadAnimation("lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1...
来源: Laya_社区 发布时间: 20171025
... output=socket.output; socket.on(Laya.Event.OPEN,this,onSocketOpen); socket.on(Laya.Event.CLOSE,this,onSocketClose); socket.on(Laya.Event.MESSAGE,this,onMessageRev); socket.on(Laya.Event.ERROR,this,onConnectError); 在 socket.on(Laya.Eve...
来源: Laya_社区 发布时间: 20170116
...rome-extension, https. load(url) { var me = this; url = URL.formatURL(url); this.url = url; this.audioBuffer = WebAudioSound._dataCache[url]; if (this.audioBuffer) {...
来源: Laya_社区 发布时间: 20200107
...17-12-27 23:51 浏览: 930 关注: 2 人 tyl925450909 • 2017-12-27 23:58 this.herolist= new Laya.List(); this.herolist.selectEnable = true; this.herolist.itemRender = HeroStartHeadItem; this.heropanel.addChild(this.herolist); //UI中直接添加的panel 已经实例化 this.heropanel.hScrollBarSki...
来源: Laya_社区 发布时间: 20171227