大约有 321 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)
...= new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20181113
...d 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():void 销毁此对象。 Graphics drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, ...
来源: laya_api 发布时间: 20170929
...argets.restore(); let dt = _targets.getData(0, 0, w, h);//像素数据 ctx.destroy(); if(!this.aImg){ let aImg:Laya.Image = new Laya.Image(this.aUrl); aImg.scaleX = aImg.scaleY = 2; Laya.stage.addChild(aImg); aImg.mouseEnabled = false; this.aImg = aImg; } //清除目标纹理的像素 let _sourceTex...
来源: Laya_社区 发布时间: 20230328
...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableDepthFog : BooleanBaseScene enableFog : Boolean 获取...
来源: laya_api 发布时间: 20170422
...实例化放到onEnable里面,在onDisable加一句this.texture.bitmap.destroy(); 2019-07-10 1 0 分享 微博 QZONE 微信 1562299196用户 赞同来自: 请问下怎么解决的 2019-07-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, ...
来源: Laya_社区 发布时间: 20190703
...,使用大括号可以指定组件的任意属性进行赋值。 Label destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] ...
来源: laya_api 发布时间: 20170929
...理以后,截出来纹理内存好像不能释放, 如果强行调用t.destroy(true) 会清除掉己使用的纹理,会乱掉 截取出来的纹理内存怎么能很好的释放 2017-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170224
...除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: Laya2.0_api 发布时间: 20190513
...= new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20181113
...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node drawImageNum : int = 0当前GRID包含多少个TILE(...
来源: laya_api 发布时间: 20170929