• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 868 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)

651. laya.display.FrameAnimation [ 44%]

...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...

来源: Laya2.0_api 发布时间: 20190513

652. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 44%]

.../ 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

653. TimeLine如何判断其是否已经被销毁? [ 44%]

...面的移除方式 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

654. laya.display.EffectAnimation_API3.0 [ 43%]

...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

655. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 43%]

...请: 与内容相关的链接 提交 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

656. destination-out 叠加模式问题 [ 43%]

... 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

657. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 42%]

...///接收到数据触发函数 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

658. 关于大量图片加载绘制后的内存暴增的疑问 [ 42%]

...突然增加16M的内存。并且这个激增的48M内存 是无法通过clearRes 进行释放的。 为何会造成这样的情况,这额外产生的48M内存 是什么如何可以释放?麻烦解答。。。万分感谢 以下为图例: 添加第一个头像后的内存显示: $$$$$$$$$$$$...

来源: Laya_社区 发布时间: 20161107

659. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...的导航网格并不会跟随场景动态改变。开发者可以先点击clear按钮清除原有的datas数据,然后再重新烘焙。 2.1.6 最大简化误差maxSimplificationError 定义了简化多边形边框时允许的最大误差值,主要用于控制导航网格简化的程度。这...

来源: Laya3.0_文档 发布时间: 20251010

660. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 42%]

...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