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

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

161. laya.d3.component.staticmesh.StaticBatchSubMesh_API3.0 [ 78%]

...destroyed drawType indexFormat instanceCount mode Methods _getType _prepareRender _render _updateRenderParams addSubMesh clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new StaticBatchSubMesh(): StaticBatchSubMesh Overrides GeometryElement.constructor Define...

来源: Laya3.0_api 发布时间: 20231115

162. matter.js 层级的问题 [ 77%]

...效果 l00l • 2017-01-19 16:20 官方给出这样的回答:The debug renderer doesn't currently support zIndex I'm afraid. I'd accept a pull request though. You'd need to add body.render.zIndex, and inside Matter.Render create a buffer and add all constraints and bodies, then sort by it. It shou...

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

163. init.js报错 [ 77%]

init.js报错 抛出了以下异常: "No such module: atom_renderer_v8_util" "Error: No such module: atom_renderer_v8_util\n    at Error (native)\n    at process.atomBinding (/Users/easonzhou/Downloads/LayaAirIDE.app/Contents/Resources/electron.asar/common/init.js:7:20)\n    at Object.<a...

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

164. LayaAir 3D性能分析工具(TypeScript-3D基础(TS)-LayaAir3D之性能优化) [ 77%]

...下面代码 ```typescript //此示例中我们想查看UpdateAllScripte、Render、ReSiteState的性能分析 update(){ //开始记录调用 Laya.PerformancePlugin.begainSample("Update"); Laya.PerformancePlugin. begainSample("Update/updateAllScript"); UpdateAllScripte(); Laya.PerformancePlugin.endS...

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

165. 底层渲染报错,原因未知,偶现 [ 77%]

...:260080) at DrawTrianglesCmd.run (laya.core-56a0e.js:1:288118 at Graphics._renderAll (laya.core-56a0e.js:1:300421) at RenderSprite.transform_drawLayaGL [as _fun] (laya.core-56a0e.js:1:131686) at SpineSkeleton.render (laya.core-56a0e.js:1:335975) at RenderSprite._children (laya.core-56a0e.js:1:139465...

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

166. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 77%]

...ss Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerEnable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Spr...

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

167. DOM元素-表单输入 [ 76%]

...var input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.width = "100px"; Laya.Browser.document.body.appendChild(input); return input; } function fitDOMElements(){ for (var i = 0; i < arguments.length; i++) { var dom = arguments[i]; Laya.Utils....

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

168. CommandBuffer · LayaAir3.0文档 · LAYABOX [ 76%]

...代码接口如下: var buf:CommandBuffer = new CommandBuffer();buf.setRenderTarget(renderTexture);buf.drawRender(renders[i],materials[i],0); 2.需要将CBuffer绑定到Camera的渲染事件中,目前laya支持的Camera事件如下: BeforeForwardOpaque = 0,//在渲染非透明物体之前Befor...

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

169. 释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 [ 76%]

...iforms (game.js:28:446232) at we.uploadUniforms (game.js:34:224675) at Ut._render (game.js:34:338289) at Yt._render (game.js:34:363882) at rr._renderScene (game.js:34:402140) at Rt.render (game.js:34:306788) at rr.renderSubmit (game.js:34:405613) at Qt.submitElement (game.js:28:172187) at Qt.flush (...

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

170. 拖尾crash [ 76%]

...    at TrailFilter.__proto._update (libs/laya.d3.js:12568)     at TrailRenderer.__proto._renderUpdate (libs/laya.d3.js:32829)     at RenderElement.__proto._render (libs/laya.d3.js:6838)     at RenderQueue.__proto._render (libs/laya.d3.js:15746) 附件 : --> 2019-07-23 添加评论 免费帖 ...

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