大约有 82 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...载地址: [点击此处下载DEMO包](https://official.layabox.com/laya_data/LayaAir2.0/Chinese/LayaAir_TS/3D/useGLTF/CmShwoDemo.zip) #### 加载模型示例 1. 创建辅助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face:...
来源: Laya2.0_文档 发布时间: 20210715
...cess(res) { console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data)))); } }); //处理中文 function decodeUTF8(arr,toType) { //转为utf8编码字符串 let str = ''; for (var i = 0; i < arr.length; i++) { str += Stri...
来源: Laya_社区 发布时间: 20191211
...estComplete(hr:Laya.HttpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-06-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题...
来源: Laya_社区 发布时间: 20190609
...杞 • 2020-12-15 18:47 @暮黎: Laya.Tween.to(mask, { scaleX: 0 }, that.data.effectTime * 1000,null); Laya.Tween.to( [rect, mask], { width: 0 }, that.data.effectTime * 1000, null, Laya.Handler.create(this, function() { isSceneAnimMask.destroy(); }) ); 我是这样写的,就同步了 Laya_Aaron •...
来源: Laya_社区 发布时间: 20180524
... // 设置数据项为对应图片的路径 var data: Array<String> = []; //解析二进制已获得关卡队列,先取有效位书 let s = json.my_guanqia.substr(0,this.default_guanqia.length); data = this.fi...
来源: Laya_社区 发布时间: 20210122
..., obj.sourceSize.h)); loadedMap[url].url = url; map.push(url); } } delete _data.pics; 代码中斜线+加粗的代码则会去找版本号,并确定是否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest &...
来源: Laya_社区 发布时间: 20180415
...请问怎么把之前的描边重新移 除呢? import { PathData } from "../data/PathData"; import InsManager from "../manager/InsManager"; import { BlurEffect, BlurMaterial } from "../shader/BlurShader/BlurEffect"; export class CommandBuffer_Outline { privat...
来源: Laya_社区 发布时间: 20210203
...于需要对不同区域应用不同寻路规则的场景。 2.1.5 数据datas 点击Bake按钮后,弹出烘焙面板,如图2-11所示,从层级面板中选择要烘焙的子节点(surface节点上添加了2D导航网格表面组件),拖入到烘焙面板中,按照需要选择节点进...
来源: Laya3.0_文档 发布时间: 20251010
...gr.fs.readFile({ filePath: fileUrl, encoding: encoding, success: function (data) { callBack != null && callBack.runWith([0, data]); }, fail: function (data) { if (data && readyUrl != "") MiniFileMgr.downFiles(readyUrl, encoding, callBack, readyUrl, isSaveFile, fileType); el...
来源: Laya_社区 发布时间: 20200103
...R: string = "io-error"; /** 数据*/ public static DATA: string = "data"; constructor(decorate?:Decorate) { super(); this.mDecorate = decorate || new Decorate(this); this.pomelo = new Pomelo(); ...
来源: Laya_社区 发布时间: 20161109