大约有 334 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya_社区(253) Laya3.0_api(21) Laya2.0_文档(17) laya_api(17) Laya2.0_api(14) Laya3.0_文档(7) Laya_示例(3) Laya2.0_示例(2)
...从而节省了动画模版创建的开销。 动画模版缓存池,以key-value键值对存储,key可以自定义,也可以从指定的配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就...
来源: Laya2.0_api 发布时间: 20190513
...时警告?请问是什么情况? GradientDataNumber warning:the forth key is be force set to 1. laya.d3.js:16710 GradientDataNumber warning:data count must lessEqual than 4 laya.d3.js:16716 GradientDataNumber warning:data count must lessEqual than 4 laya.d3.js:16716 GradientDataColor warning:the...
来源: Laya_社区 发布时间: 20200110
...信息。 for (let i = len - 1; i >= 0; i--) { key = this._poolDic.keys temp = this._poolDic.get(key); if (temp) { this._poolDic.remove(key); temp.clear(); ...
来源: Laya_社区 发布时间: 20170905
...,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":2},{"value":1,"tweenMethod":...
来源: Laya_社区 发布时间: 20210111
...llback 赞同来自: /** * param 将要转为URL参数字符串的对象 * key URL参数字符串的前缀 * encode true/false 是否进行URL编码,默认为true * * return URL参数字符串 */ public static urlEncode(param:any, key?:any, encode:boolean = true):string{ if (param == null) return ''...
来源: Laya_社区 发布时间: 20170628
...0","fontSize":30,"color":"#008aff"}}],"animations":[{"nodes":[{"target":3,"keyframes":{"y":[{"value":192,"tweenMethod":"linearNone","tween":true,"target":3,"key":"y","index":0},{"value":0,"tweenMethod":"linearNone","tween":true,"target":3,"key":"y","index":100}],"x":[{"value":0,"tweenMethod":"linear...
来源: Laya_社区 发布时间: 20170725
...split("/"); var tempFileName = temp[temp.length - 1]; var fileurlkey = readyUrl; var fileObj = MiniFileMgr.getFileInfo(readyUrl); var saveFilePath = MiniFileMgr.getFileNativePath(tempFileName); //MiniFileMgr.fakeObj[fileurlkey] = { md5: tempFileName, readyUrl: readyUrl, size: 0, times: Lay...
来源: Laya_社区 发布时间: 20200103
...序列帧。选择动画模版的过程如下:1. 动画模版缓存池中key为cacheName的动画模版;2. 如果不存在,则加载指定的图集并创建动画模版。</p> * <p>注意:只有指定不为空的cacheName,才能将创建好的动画模版以此...
来源: Laya_社区 发布时间: 20180522
...ndler = this._getHandler(caller, method); if (handler) { this._map[handler.key] = null; handler.key = 0; handler.clear(); } }[/i] 如果确是问题,可以考虑改一下,如果不是,可以忽略我的疑惑。我根据源码里面Timer中提供的相关字段和clearAll函数的写法,自...
来源: Laya_社区 发布时间: 20200819
...gt;> 11-15 14:08:16.661: E/LayaGameEngine(1879): game_plugin_set_option key=localize value=false 11-15 14:08:16.661: E/LayaGameEngine(1879): game_plugin_set_option key=gameUrl value=http://zqzmh5banshu.05wan.com 11-15 14:08:16.661: D/LayaGameEngine(1879): game_plugin_init url =http://zqzmh5banshu...
来源: Laya_社区 发布时间: 20171115