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

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

801. 微信小游戏渲染开放域卡顿处理 [ 33%]

...t             };             // 赋值属性             for (let i in param)                 data[i] = param[i];             self.visible = true;             // 检测             var texture = self.$texture;             if (texture) {         ...

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

802. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 33%]

...ivate cameraEventFlag: Laya.CameraEventFlags = Laya.CameraEventFlags.BeforeImageEffect;     private camera: Laya.Camera;      private renders:Laya.BaseRender[]  = [];     private materials:Laya.Material[] = [];      public static instance: CommandBuffer_Outline ; ...

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

803. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 32%]

...池中创建对象。将addChild改成addItemFromPool。 错误示例2: for(let i=0;i<10;i++) aList.addItemFromPool(); aList.removeChildren(); 这里添加了10个item,但移除时并没有保存他们的引用,也没有放回到池里,这样就造成了内存泄漏。将aList.removeChild...

来源: Laya3.0_文档 发布时间: 20251128

804. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 32%]

...1-5431/com.ReleaseTest.Four E/ActivityThread: Failed to find provider info for com.google.settings 06-20 19:10:18.492 5371-5426/com.ReleaseTest.Four W/chromium: [WARNING:data_reduction_proxy_config.cc(318)] SPDY proxy OFF at startup 06-20 19:10:18.494 5371-5371/com.ReleaseTest.Four E/MPlugin: Unsupp...

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

805. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

...,200); var txt:String = ""; var tTxt:String; var tHTMLElement:HTMLElement; for(var i:int = 0,n:int = htmlDiv._childs.length;i < n;i++) { tHTMLElement = htmlDiv.getChildAt(i) as HTMLElement; if(tHTMLElement) { tTxt= tHTMLElement.text; if(tTxt) { txt += tTxt; } } } trace("文本内容为"+txt); tra...

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

806. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 32%]

...r; // 发布时调用编译,workSpaceDir使用publish.js里的变量 let forceCompile = !fs.existsSync(path.join(workSpaceDir, "bin", "js", "bundle.js")); // 发布时,并且没有编译过,则强制编译 if (!global.config.compile && !forceCompile) { return; } } return rollup.rollup(...

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

807. 自定义shader-地形shader [ 31%]

...); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.translate(new Laya.Vector3(-5, 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { se...

来源: Laya_示例 发布时间: 20260303

808. 项目发布详解(含命令行发布)(TypeScript-IDE篇(TS)-代码模式基础) [ 31%]

...Options: -v, --version output the version number -h, --help output usage information Commands: compile compile project. publish publish project. help [cmd] display help for [cmd] ``` #### layaair2-cmd的帮助说明: 帮助中首先给出了命令的使用范例: ``` Usage: layaair2-cmd [command...

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

809. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 30%]

... 方框指示的sprite3d的rotation,会导致子物体TargetGuard的transform.position不正确,好像子节点属于的坐标系变动了?   比如说,绳子不旋转的时候,我在代码中动下面圆盘的transform.positionthis.block = s.getChildByName("target_root").getChildByName("...

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

810. Laya中Button等组件lose skin的问题 [ 30%]

...);                 }else {                 for (var i=0;i < this._stateNum;i++){                     this._sources.push(Texture.createFromTexture(img,0,height *i,width,height));                 }             }    ...

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