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

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

651. laya.display.FrameAnimation [ 67%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

652. drawToCanvas 加载以后 如何释放内存 [ 67%]

...信 Playerdata1 赞同来自: 我这边测试效果 是 如果使用了  texture.destroy()  每次使用截屏功能 会泄漏4M  如果不使用texture.destroy() 则泄漏8M 2017-09-15 0 0 分享 微博 QZONE 微信 Playerdata1 赞同来自: 测试发现 只要截图 就会消耗4M 并且清理...

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

653. laya.ui.VBox [ 67%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

654. laya.ui.TipManager [ 67%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

655. [LayaAir3]3.0版本资源销毁后_referenceCount不会变成0,2.0版本是正常的可以变为0 [ 67%]

...der.load('resources/UI/role/mxxxx.png', Laya.Loader.IMAGE).then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; Laya.stage.addChild(sp); setTimeout(() => { sp.destroy() }, 1000); });重现代码如上,代码很简单。   下面是打印了Laya.Resource._idResourcesMa...

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

656. laya.ani.bone.Skeleton_API3.0 [ 67%]

...leY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer total transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender d...

来源: Laya3.0_api 发布时间: 20231115

657. 瓦片地图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...每一个瓦片集的索引。 Atlas:这个瓦片集使用的图集。 Texture Region Size:纹理区域大小,表示图集上每个瓦片的大小。 Margin:边距,图集边缘上不应选为瓦片的区域,用于去除掉图集边缘上的无用区域。 Separation:间距,图集上...

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

658. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 67%]

...ackages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTexture 类用...

来源: laya_api 发布时间: 20170929

659. laya.ui.HBox [ 67%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

660. matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? [ 67%]

...th,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...

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