• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 831 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)

751. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 43%]

...w CmShowCharacterStruct(); // gltf 模型资源对象 struct.gltfURL = {}; for (const key in this.gltfFile) { struct.gltfURL[key] = this.gltfFile[key]; } // 个性化配置对象 / 可省略 struct.customConfigURL = "res/self/gltfMode/gltfBin/face.json"; // makeup装扮对象 / 可省略 struct.make...

来源: Laya2.0_文档 发布时间: 20210715

752. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 43%]

...function _findChild(spArr:Array,name:String):Sprite3D{ var arr:Array = []; for(var i:int = 0;i (图 new)新版本骨骼挂点 ### 老版本骨骼挂点 #### (1) 在Unity中设置骨骼挂点 骨骼挂点在Unity中设置非常方便,可以在场景的资源层级中直接操作。如下图(...

来源: Laya2.0_文档 发布时间: 20210714

753. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 43%]

...lBar.elasticDistance = 200;     }     open(): void     {         for(let i = 0; i< 50; i++)         {             this.test.push(i);         }         this.list.array = this.test;     }     onItemRender(item: Item_List, index: number): void     {         item...

来源: Laya_社区 发布时间: 20170614

754. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 43%]

..., tex.width, tex.height); /************getPixels内存泄漏*************/ for(var i:int = 0; i < arr.length; i++) { if(arr > 0) { pixelCount++; } } return pixelCount; } private function toLocal(point:Object,mc:Sprite):Point { /* * 参数point可以是Point类型和DisplayObject类型 * mc是...

来源: Laya_社区 发布时间: 20180302

755. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 43%]

...放流程:第一次动画播放完后,会把图集资源清理掉,  for (let imgName of imgAry.imgs) {                 Laya.loader.cancelLoadByUrl(imgName);                 Laya.loader.clearTextureRes(imgName);                 Laya.loader.c...

来源: Laya_社区 发布时间: 20200417

756. 如何获取animation的node节点? [ 43%]

...的配置文件,根据配置文件结构修改 let skillAniArray = []; for(let i in aniProps.mc[options.srcName].frames) { let skill = new Laya.Sprite(); // 创建一个用于存放位图数组的临时精灵 let texture = Laya.loader.getRes(options.srcPath+options.srcName+".png"); // 读取图集...

来源: Laya_社区 发布时间: 20190215

757. Ts简单对象池 [ 43%]

...ift(); GetLenght=():number=>{return this.data.length;} Dispose=()=>{ for(let i in this.data){ Laya.Pool.recover("Dispose",this.data[i]); } } }   2019-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

来源: Laya_社区 发布时间: 20191206

758. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 42%]

...   this.camera = new Laya.Camera();         this.camera.transform.translate(new Laya.Vector3(0, 2, 5));         this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);          this.scene.addChild(this.camera);         Laya.loader.create...

来源: Laya_社区 发布时间: 20191102

759. @regClass编译报错! [ 42%]

...ind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;     for (var i = decorators.length - 1, decorator; i >= 0; i--)       if (decorator = decorators[i])         result = (kind ? decorator(target, key, result) : decorator(result)) || result;     if (kind && resu...

来源: Laya_社区 发布时间: 20230608

760. 重要问题:关于苹果审核被拒 [ 42%]

...在都删除了,就剩下这两个,但是会报 ld: library not found for -lJavaScriptCore clang: error: linker command failed with exit code 1 (use -v to see invocation)。 helloworldlv • 2018-03-21 11:00 build settings /other linker flag 里面把删的库删掉 helloworldlv • 2018-03-21 1...

来源: Laya_社区 发布时间: 20180225