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

大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)

781. TiledMap加载报错 relativePath为空 [ 35%]

...而laya.tiledmap.js的源码中是这样的 var tArray=tJsonData.tilesets; for (i=0;i < tArray.length;i++){ tileset=tArray[i]; tTileSet=new TileSet(); tTileSet.init(tileset); if (tTileSet.properties && tTileSet.properties.ignore)continue ; this._tileProperties[i]=tTileSet.tileproperties; ...

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

782. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 34%]

...渲染事件中,目前laya支持的Camera事件如下: ```typescript BeforeForwardOpaque = 0,//在渲染非透明物体之前 BeforeSkyBox = 2,//在渲染天空盒之前 BeforeTransparent = 4,//在渲染透明物体之 BeforeImageEffect = 6,//在后期处理之前 AfterEveryThing = 8,//所有渲...

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

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

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

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

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

...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

785. 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

786. 富文本: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

787. 深入理解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

788. 自定义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_示例 发布时间: 20241002

789. 项目发布详解(含命令行发布)(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

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

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

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