大约有 4,034 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...age dispose,内存也不见释放。代码如下: var kk1:HTMLCanvas = this.HistoryArray.pop()[0]; var img:Image = new Image(); img.src = kk1.toDataURL(); img.dispose(); 详见附件。这次不会那么强大了 2...
来源: Laya_社区 发布时间: 20170407
...rite3D.__proto.destroy (laya.d3.js:43737) 发现 if (this._cacheRootBone){ this._cacheRootBone.transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._boundChange); 这里的this._cacheRootBone非空,但是上面transform是...
来源: Laya_社区 发布时间: 20191015
...后续添加的图元。 求解。。。。 贴上代码: // 2D 场景 this.tMap = new Laya.TiledMap(); var viewRect:Laya.Rectangle = new Laya.Rectangle(); this.tMap.createMap("res/TiledMap/orthogonal-test-movelayer.json",viewRect,Laya.Handler.create(this,this.onMapLoaded)); this.tMap.scale = 1; ...
来源: Laya_社区 发布时间: 20180514
...abox直接扫描右侧的二维码真机调试也是如此。 TypeError: this.cxt.fillText is not a function this.cxt.fillText(text, this.cav.width / 2, this.cav.height); ^^ ...
来源: Laya_社区 发布时间: 20200409
...ERATION: bindTexture: attempt to bind a deleted texture 代码示例: this.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.st...
来源: Laya_社区 发布时间: 20170106
... } this.length--; if (index!==this.length){ var end=this.elements[this.length]; // @xd added, 添加end是存存在判断 ...
来源: Laya_社区 发布时间: 20190618
...UI extends ui.LevelUI { private panel:Laya.Panel; constructor() { super(); this.panel = new Laya.Panel(); this.panel.size(720, 1136); this.panel.vScrollBarSkin = "comp/vscroll.png"; Laya.stage.addChild(this.panel); var img:Laya.Image = new Laya.Image(); img.skin = "res/GameBG2.jpg" this.panel.addChi...
来源: Laya_社区 发布时间: 20180529
...码大致如下: Laya.loader.load('player/player.json',Laya.Handler.create(this, this.onLoaded),null); ----onComplate: Laya.Animation.createFrames(['player-left.png'], "walk-left"); 2016-06-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20160610
...;1 __proto.worldToViewportPoint=function(position,out){ Matrix4x4.multiply(this._projectionMatrix,this._viewMatrix,this._projectionViewMatrix); this.viewport.project(position,this._projectionViewMatrix,out); var outE=out.elements; if (out.z < 0.0 || out.z > 1.0){ outE[0]=outE[1]=outE[2]=NaN; }...
来源: Laya_社区 发布时间: 20171229
... if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, th...
来源: Laya_社区 发布时间: 20171201