大约有 868 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(575) Laya3.0_api(100) Laya2.0_api(69) laya_api(68) Laya2.0_文档(20) Laya3.0_文档(19) Laya2.0_示例(9) Laya_示例(8)
...如果之前有其他绘制,则会被清除掉)。 等同于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
...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
...请: 与内容相关的链接 提交 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
... 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
...突然增加16M的内存。并且这个激增的48M内存 是无法通过clearRes 进行释放的。 为何会造成这样的情况,这额外产生的48M内存 是什么如何可以释放?麻烦解答。。。万分感谢 以下为图例: 添加第一个头像后的内存显示: $$$$$$$$$$$$...
来源: Laya_社区 发布时间: 20161107
...的导航网格并不会跟随场景动态改变。开发者可以先点击clear按钮清除原有的datas数据,然后再重新烘焙。 2.1.6 最大简化误差maxSimplificationError 定义了简化多边形边框时允许的最大误差值,主要用于控制导航网格简化的程度。这...
来源: Laya3.0_文档 发布时间: 20251010
...n addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAf...
来源: Laya3.0_api 发布时间: 20231115