大约有 11,331 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0183 秒)
Laya_社区(10657) Laya3.0_文档(243) Laya2.0_文档(201) Laya3.0_api(118) laya_api(36) Laya2.0_api(29) Laya_示例(27) Laya2.0_示例(20)
...复制rpk包到相关路径下。 3. 安装nodejs 环境,必须要安装 10.x 稳定版本 ,如果不是的需要重新安装[node官网:https://nodejs.org/download/release/latest-v10.x/] 4. LayaAirIDE集中开发环境,LayaAir 2.8.1 或以上版本 [ 官网下载: https://ldc2.layabox.com/l...
来源: Laya2.0_文档 发布时间: 20210714
...e: number) { Laya.Tween.to(ColorTool.getInstance(), { persent: 1 }, time * 1000, null, Laya.Handler.create(this, this.setPersent, [0])); } /** * 颜色改变函数 * @param color 目标色值 * @param lastColor 当前色值 * @param persent 差值 */ public colorFilter(color: number, lastColor: nu...
来源: Laya_社区 发布时间: 20180930
...辨率(Width×Height)是256x256太低导致,下面修改分辨率为1024x1024,如动图2-8所示。 (动图2-8) 这样,LayaMonkey一下变清晰了,到此我们就把3D对象通过渲染纹理的方式,混合到UI界面了。运行效果如动图2-9所示: (动图2-9) 三、...
来源: Laya3.0_文档 发布时间: 20251010
... * * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 * var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture * var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把...
来源: Laya_社区 发布时间: 20180719
... 报一个错: error: unknown option `--dataFormat' evamango • 2018-01-10 10:44 下个版本会加入指定项目路径的功能么?
来源: Laya_社区 发布时间: 20180104
... = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的图片资源来自“引擎API使用示例”项目,开发者可以自行创建下载) 运行结果: (图2-1) Copyrig...
来源: Laya3.0_文档 发布时间: 20251010
...-12-02 17:55 说错了 是给模型换贴图就闪屏 kylin • 2019-12-03 10:02 @156*****953:浏览器和小游戏平台针对localstorage的实现有差异,我们解决一下,下个版本会出方案。 156*****953 • 2019-12-03 10:43 @kylin:啊,那是现在这个问题没办法解决吗
来源: Laya_社区 发布时间: 20191130
...报错 not available (no filename):8 ### App VBuiltIn ### Version: 1.10.3 Build 7/22/2020, 7:50:52 PM (no filename):8 Enable batch GL commands optimization! (no filename):8 running const: 22.53557300567627ms (no filename):8 ### App VNative ### Version: 1.10.3 Build 7/22/2020, 7:50:52 PM (no file...
来源: Laya_社区 发布时间: 20200826
...rotoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = true; 用了第三方库protobufjs。 protoAll.d.ts是proto打包出来的proto类文件,在vscode中TS项目测试过可以正常使用。 我已经生成出js和.d.ts代码了,在vscode里可...
来源: Laya_社区 发布时间: 20190228
...s = p / 4; } else s = p / PI2 * Math.asin(c / a); return (a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * PI2 / p) + c + b); }可以按照原来的函数仿写自己想要的 2018-01-04 0 2 分享 微博 QZONE 微信 he853066732 赞同来自: 2018-04-08 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20180104