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

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

31. 在浏览器上,模拟并重现SimpleSingletonList的问题了 [ 81%]

...改一下: if (index !== -1){     console.log("SimpleSingletonList:" + element + " has  in  SingletonList.");     this.clear(); } 把状态清空,重新来过,这样可能会对多点触摸有影响,只是说不卡死了。   吐槽一下: remove(element) {      var index = eleme...

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

32. laya.d3的SimpleSingletonList 疑似逻辑问题 [ 80%]

...后就会调用到scene的render的remove。而SimpleSingletonList会获取element的indexinlist,但由于可能并没有进过add,所以这时候获得的index是-1,SimpleSingletonList的remove会继续进过逻辑:   var end = this.elements[this.length]; this.elements[index] = end; end._s...

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

33. 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList [ 78%]

...QZONE 微信 腊笔小新 赞同来自: 186*****645 clear() {      var elements = this.elements;      for (var i, n = this.length; i < n; i++)      elements._setIndexInList(-1);      this.length = 0; }   SimpleSingletonList 很明显,变量 i 没有赋值,版本Laya2.5也有...

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

34. laya.utils.SingletonList_API3.0 [ 78%]

...oid Defined in laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: T): number Defined in laya/utils/SingletonList.ts:41 Parameters element: T Returns number Globals "laya/utils/SingletonList" SingletonList constructor destroy indexof Legend Object literal Variable Function Type alia...

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

35. laya.d3.renderobjs.renderobj.QuickSort_API3.0 [ 78%]

...rarchy QuickSort Implements ISortPass Index Methods sort Methods sort sort(elements: SingletonList<RenderElement>, isTransparent: boolean, left: number, right: number): void Implementation of ISortPass.sort Defined in laya/d3/RenderObjs/RenderObj/QuickSort.ts:18 快速排序 Parameters element...

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

36. laya.d3.physics.PhysicsUpdateList_API3.0 [ 77%]

...roy Defined in laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: PhysicsComponent): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: PhysicsComponent Returns number Globals "laya/d3/physics/PhysicsUpdateList" PhysicsUpdateLi...

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

37. laya.d3.physicscannon.CannonPhysicsUpdateList_API3.0 [ 77%]

...roy Defined in laya/utils/SingletonList.ts:69 Returns void indexof indexof(element: CannonPhysicsComponent): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: CannonPhysicsComponent Returns number Globals "laya/d3/physicsCannon/CannonPhysicsUpd...

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

38. 浏览器指针锁定放入laya获取不到 [ 77%]

...放入laya获取不到 浏览器指针锁定接口,放入laya获取不到element,element是undefined 直接只显示网页的话,是可以调用接口的 附件 : --> test_pointerLock_2.1_.0_.zip 2019-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

39. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 76%]

...Renderer](./img/components/class-MeshRenderer-0.png) 1. Materials - Size - Element 2. Lightmap Static - Lightmaps - Baked Lightmap - Lightmap Index - Tiling X - Tiling Y - Offset X - Offset Y - Skinned Mesh Renderer ![Skinned Mesh Renderer](./img/components/Inspector-SkinnedMeshRenderer.png) 1. Mesh...

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

40. laya.d3.renderobjs.renderobj.FastSinglelist_API3.0 [ 76%]

...als Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ" FastSinglelist Class FastSinglelist<T> Type parameters T Hierarchy SingletonList<T> FastSinglelist Index Constructors constructor Methods destroy indexof Constructors constructor new FastSinglelist(): ...

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