大约有 865 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya_社区(573) Laya3.0_api(100) Laya2.0_api(69) laya_api(68) Laya2.0_文档(20) Laya3.0_文档(18) Laya2.0_示例(9) Laya_示例(8)
...我的牌大了。可是我的牌还是出不去 computer() { Laya.timer.clear(this,this.computer); var NTS: number; var NTE: number; this.nextTurn; let i = this.turnNumber; if(i==0){ return; } this.getPlayer(); } gotoNext(){ this.turnNumber++; if(this.turnNumber>3) { this.turnNumber=0 } } ...
来源: Laya_社区 发布时间: 20180626
...o._selfVb = VertexBuffer2D.create(-1)); vb.clear(); pos = 0; } o._ib = ib; o._vb = vb; o._startIdx = pos * CONST3D2...
来源: Laya_社区 发布时间: 20190628
...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...
来源: laya_api 发布时间: 20170422
...es("res/floor.png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFr...
来源: Laya_社区 发布时间: 20160801
...y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-y,this.width,this.height,0,0); var info=Browser.context.getImageData(0,0,width,height); } return info.data; }上面是 getpixels 的实现, 问题1: 为什么直接调用 Brow...
来源: Laya_社区 发布时间: 20171201
...ethodDefined By alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():v...
来源: Laya2.0_api 发布时间: 20190513
...efined By Byte(data:* = null) 创建一个 Byte 类的实例。 Byte clear():void 清除字节数组的内容,并将 length 和 pos 属性重置为 0。调用此方法将释放 Byte 实例占用的内存。 Byte getSystemEndian():String[static] 获取当前主机的字节序。 主机字...
来源: Laya2.0_api 发布时间: 20190513
...ools/LayaAirCmdTool.max.js', '/data/ebuild/gongdou/gongdouH5/laya/.laya', 'clear=true', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Linux appPath: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/ openProject: /data/ebuild/gongdou/gongdouH5/laya/....
来源: Laya_社区 发布时间: 20171211
...Y; } } } clearAll () { if (this._map) { this._map = null; } this.visible = false; var tAniSprite; if (this.aniSpriteArra...
来源: Laya_社区 发布时间: 20220627
...efined By Byte(data:* = null) 创建一个 Byte 类的实例。 Byte clear():void 清除字节数组的内容,并将 length 和 pos 属性重置为 0。调用此方法将释放 Byte 实例占用的内存。 Byte ensureWrite(lengthToEnsure:int):void 保证该字节流的可用长度不小...
来源: laya_api 发布时间: 20170929