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

大约有 849 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)

631. laya.display.FrameAnimation [ 44%]

...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...

来源: laya_api 发布时间: 20170929

632. 关于创建Sprite获取大小 [ 44%]

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

633. laya.d3.core.trail.TrailSprite3D_API3.0 [ 44%]

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

634. laya.display.FrameAnimation [ 44%]

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

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

635. 帮忙看看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

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

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

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

639. destination-out 叠加模式问题 [ 42%]

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

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