大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
Laya_社区(2051) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(37) Laya_示例(36) Laya2.0_示例(15)
...these 赞同来自: MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) LayaAir3D.OnGUI () (at Assets/LayaAir3D/L...
来源: Laya_社区 发布时间: 20171208
drawToTexture截大图有问题,会丢失 private nsp:Laya.Sprite; init(): void { this.nsp=new Laya.Sprite(); this.nsp.graphics.drawRect(0,0,1600,1600,"#ff0000"); this.nsp.mouseThrough=true; Laya.stage.addChild(this.nsp); this.nsp....
来源: Laya_社区 发布时间: 20220809
...r.create(this, this.createView)); 在createView回调里面调用 let tex: Texture = Laya.Loader.getRes("image/shake_01.png"); 想拿图集中的某一张图片。发现拿不到这张图片。 但是我换个默认的图集Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, this.createVie...
来源: Laya_社区 发布时间: 20180326
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170422
...hTerrainSprite3D.createFromMeshAndHeightMap(terrain.meshFilter.sharedMesh, texture, 45.58879852294922, -45.58879852294922); //报错:Cannot read property 'width' of undefinedDemo见附件。 附件 : --> test.rar 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170601
...e的skiskin片目前是最方便的做法,你也可以通过graphics.drawTexture,替换图片之前,将旧的texture移除即可graphics.clear()! 2017-09-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xfx7788 相关问题 2.0...
来源: Laya_社区 发布时间: 20170920
..., losing the least recently used one. Error: WebGL warning: texSubImage2D: Texture has not been initialized prior to a partial upload, forcing the browser to clear it. This may be slow. Error: WebGL warning: texSubImage2D: This operation requires zeroing texture data. This is slow. 2018-09-19 0 0 ...
来源: Laya_社区 发布时间: 20180918
...生成文字贴给模型材质时只有背景颜色生效 如图所示,Texture在精灵内是显示正常的,贴在材质上就只剩下背景颜色了 var te: Laya.Label = new Laya.Label("test"); te.fontSize = 200; te.color = "#000000"; te.bgColor = "#d90f0b"; jm.albedoTexture = te.size(50...
来源: Laya_社区 发布时间: 20190724
...生成控制 其他属性的关键帧 (skin 和 y) 另 GraphicNode和Texture节点是可以正常的添加所有属性的关键帧的 附件 : --> 2018-03-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 q...
来源: Laya_社区 发布时间: 20180319
...来自: 2.0.0版本下 已经解决这个问题 修改 laya.core.js var Texture 对象里 __proto.destroy=function(){ if (!this._destroyed){ this._destroyed=true; if (this.bitmap){ this.bitmap._removeReference(this._referenceCount); if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // co...
来源: Laya_社区 发布时间: 20190320