大约有 717 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
Laya_社区(623) Laya2.0_文档(49) Laya3.0_文档(25) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
... Base64加密 手机客户端的本地资源文件怎么加密 对图集 atlas和 png 加密后,应该怎么加载解密 LayaResourceEncryption 加密工具用的什么加密算法 问题状态 最新活动: 2020-02-04 00:28 浏览: 1700 关注: 5 人
来源: Laya_社区 发布时间: 20190321
...是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.display.Animation; import laya.net.Lo...
来源: Laya3.0_api 发布时间: 20231115
...0800 layabox[3608:626785] xhr.get url=http://nativetest.layabox.com/ ... atlas 2020-04-22 18:21:22.187489+0800 layabox[3608:626785] template=useCommandEncoderByParamData(96,100,1); 2020-04-22 18:21:22.187964+0800 layabox[3608:626785] templateEnd= 2020-04-22 18:21:22.190447+0800 layabox[3608:62...
来源: Laya_社区 发布时间: 20200422
...上层节点 Parameters node: Node Returns boolean load load(url: string, atlas?: boolean, atlasPath?: string): void Defined in laya/ani/swf/MovieClip.ts:438 加载资源。 Parameters url: string swf 资源地址。 Default value atlas: boolean = false 是否使用图集资源 Default value atlasPa...
来源: Laya3.0_api 发布时间: 20231115
...dth, height, sizeGrid, false, color)); } 代码示例: Laya.loader.load("atlas/comp/image.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制九宫格纹理 sp.graphics.draw9Grid(res, 0, 0, 1024, 626, [0, 0, 0, 0, 1]); this.owner.addChild(sp); }); 运行效果: (图9-2...
来源: Laya3.0_文档 发布时间: 20231129
...: void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图4-2所示: (图4-2) 4.1.2 3D节点的基础使用 首先,如动图4-3所示,将场景中已经添加好的3D节点Cube拖入到@property暴露的属性入口中...
来源: Laya3.0_文档 发布时间: 20240528
...rCode) { var tempData; if (type == Laya.Loader.JSON || type == Laya.Loader.ATLAS || type == Laya.Loader.PREFAB || type == Laya.Loader.PLF) { tempData = MiniAdpter.getJson(data.data); } else if (type == Laya.Loader.XML) { tempData = Laya.Utils.parseXMLFromString(data.data); } else { tempData = data.d...
来源: Laya_社区 发布时间: 20200103