大约有 849 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
Laya_社区(562) Laya3.0_api(100) Laya2.0_api(69) laya_api(68) Laya2.0_文档(20) Laya3.0_文档(13) Laya2.0_示例(9) Laya_示例(8)
...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...
来源: laya_api 发布时间: 20170929
...oader.load(value.url, ls.Handler.create(this, function () { _this.graphics.clear() var texture = window.Laya.loader.getRes(value.url) _this.graphics.drawTexture(texture) _this.scaleX = _this.set_width / texture.sourceWidth _this.pivotX = _this.row_data.property.x_m * texture.sourceWidth _this.pivotY...
来源: Laya_社区 发布时间: 20180530
...hildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeser...
来源: Laya3.0_api 发布时间: 20231115
...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...
来源: Laya2.0_api 发布时间: 20190513
.../ if(pixelCount / _initPixelCount < 0.3) { trace("remove"); _htmlCanvas.clear(); _htmlCanvas.destroy(); _tex.destroy(); _colorSpr.off(Event.MOUSE_MOVE, this, __moveHandler); } } private function getPixel(tex:Texture):int { var pixelCount:int = 0; /************getPixels内存泄漏*************/ v...
来源: Laya_社区 发布时间: 20180302
...面的移除方式 timeLine.pause();//暂停timeLine动画,将timer进行clear timeLine.destroy();//将timeLine的数据清null trace(timeLine.hasOwnProperty("destroy"));//判断timeLine是否调用了destroy方法 timeLine=null;//将timeLine从显示列表清空 2016-12-15 0 5 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20161215
...请: 与内容相关的链接 提交 5 个回复 Xiiiyue 赞同来自: //clear context references Laya.Render._context.destroy(false); Laya.RenderContext3D._instance.scene = null; Laya.RenderContext3D._instance.camera = null; //clearshaders let shaderIncetance = Laya.RenderContext3D._instance.shad...
来源: Laya_社区 发布时间: 20191102
...dChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents ...
来源: Laya3.0_api 发布时间: 20231115
... move():void { sp.x=Laya.stage.mouseX; sp.y=Laya.stage.mouseY; sp.graphics.clear(); sp.graphics.drawCircle(0, 0, 200,"#0ef604"); } li970704928 • 2017-12-13 19:08 @Laya_Aaron:可以吗这样复制过来的 Laya_Aaron • 2017-12-13 19:19 这么看 this.addChild(guideContainer); 这一行 ...
来源: Laya_社区 发布时间: 20171213
...///接收到数据触发函数 trace("receiveHandler msg:",msg); this.byte.clear(); this.byte.writeArrayBuffer(msg);//把接收到的二进制数据读进byte数组便于解析。 this.byte.pos = 0;//设置偏移指针; trace('getInt16=',this.byte.getInt16()); trace('getInt32=',this.byte.getInt32(...
来源: Laya_社区 发布时间: 20180202