大约有 1,596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
... 服务器图片更换后,客户端如何清理缓存 let itImg = new Laya.Image(); itImg.skin = "http://******/get_img.php?"; Laya.stage.addChild(itImg); 如果"http://******/get_img.php?"图片更换了,我这边如何更换我的image展示 2018-04-16 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180416
...知,必看!!!不按提问规则的,官方拒绝解答!!! laya针对页游耗用内存大的问题是如何解决的? unity导出粒子文件问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) layaAir TS项目如何引用protoBuf库? 关...
来源: Laya_社区 发布时间: 20170420
...r resArray = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE...
来源: Laya_社区 发布时间: 20180613
Image var img___=new Image(); html的 image标签 怎么才能转换成 laya.texture var img___=new Image(); img___.src="res/card/select_main_card_bg.png" img___.onload = function(){ var image = new Laya.Image() image.source = img___...
来源: Laya_社区 发布时间: 20170122
...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 飞蛾扑火 加载图集https://ldc.layabox.com/doc/?nav=zh-as-2-2-0销毁,https://ldc.layabox.com/doc/?nav=zh-as-3-2-7 2018-05-30 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20180530
...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步...
来源: Laya_社区 发布时间: 20180205
...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这个提示是给你说图片被释放了,现在需要恢复资源。。 因为你用了cleartextureres 所以无法避免。 提示对性能没有影响 2018-11-19 0 1 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20181119
...mage和ui界面里组件的Image有什么区别?急!! 因为我想用laya里的对象池。。对于动态创建的时候,可以用Laya.Pool.getItemByClass("img", Laya.Image) 但是如果是在ui界面,编辑模式里创建好的组件Image,这里的Image是默认缓存池里调...
来源: Laya_社区 发布时间: 20180520
... imgArr.push({url:"res/atlas/cont.json",type:Loader.ATLAS}); Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false)); } (function() { function Lload() { Lload.__super.call(this); this.dh(); ...
来源: Laya_社区 发布时间: 20160815
如何在不destroy Laya.Image对象的前提下,clean掉之前load的image图片/皮肤 这是一个很常见的需求 -- 给image对象换个图片/皮肤,但是如果后加载的image是半透明的,那么还是可以看到老的图片的,那个现在Laya没有办法在不 destroy image...
来源: Laya_社区 发布时间: 20180320