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

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

21. 2.3.0beta vivo 多点触控报错. [ 90%]

...SimpleSingletonList类的add函数改成这样可以先用着      add(element) {      var index = element._getIndexInList();      if (index !== -1)                 //throw "SimpleSingletonList:" + element + " has in SingletonList.";                 return...

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

22. laya更换材质问题 [ 90%]

...不明白你表述的是什么意思?Materials Size设置为2 之后,Element 0 和 Element 1 设置材质球即可。 2020-05-08 0 0 分享 微博 QZONE 微信 Just For 赞同来自: 我设置了对应的Element 0 和 Element 1  发现没效果    2020-05-09 0 0 分享 微博 QZONE 微信 ...

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

23. 按时间清理Laya.pool中缓存对象, 游戏大厅缓存问题 [ 90%]

...的js的 cwugs • 2018-06-11 11:53 private loadJs(jsPAth, fun) { var new_element1 = document.createElement("script");//创建新的script节点 new_element1.setAttribute("type", "text/javascript"); // new_element1.setAttribute("src", jsPAth); //LayaNative不...

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

24. 图集修改以后加载的问题 [ 90%]

...e: net::ERR_FILE_NOT_FOUND [file:///E:/f/laya/layaBattle/bin/resource/unit/element2.png]   [warn]Retry to load: resource/unit/element2.png laya.core.js:19110 Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///E:/f/laya/layaBattle/bin/resource/unit/element2.png]   [error]Failed to load: reso...

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

25. laya接入fairyGUI的时候资源加载方式? [ 89%]

...or (let key in pkg._sprites) { if (pkg._sprites.hasOwnProperty(key)) { let element = pkg._sprites[key]; if (!allatlas[element.atlas.file] && !Laya.loader.getRes(element.atlas.file)) { allatlas[element.atlas.file] = element.atlas.file; loadData.push({ url: element.atlas.file, type: Laya.Loade...

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

26. [LayaAir3]VideoTexture,VideoNode视频和Image图片内存释放问题 [ 88%]

...引擎临时处理下,增加一个消耗video节点的方法:destroyVideoElement() { if (this.element) { this.element.pause(); this.element.src = ""; while (this.element.childElementCount) this.element.firstChild.remove(); } ILaya.timer.clear(this, this.render); } 2、关于Image所说的内存泄...

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

27. laya.html.XML_API3.0 [ 85%]

...Constructors constructor Properties name text Accessors attributes Methods elements getAttrBool getAttrFloat getAttrInt getAttrString getNode parse reset setAttribute Constructors constructor new XML(XmlString?: string): XML Defined in laya/html/XML.ts:9 Parameters Optional XmlString: string Returns...

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

28. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 85%]

...                                  //世界矩阵 Matrix4x4elements: Float32Array[16]0: 0.85106498003005981: 02: 03: 04: 05: 0.85106498003005986: 07: 08: 09: 010: 0.851064980030059811: 012: 331.600006103515613: -5.099999944384835e-1414: -3.03830003738403315: 1buffer: (...)byteLength:...

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

29. [LayaAir3]LAYAAIR 3.3 和 LAYANATIVE 的VIDEO 支持 M3U8文件吗? [ 84%]

...}else if(videoTexture.canPlayType("m3u8")){ this.playVideo(); videoTexture.element.pause(); videoTexture.element.src = m3u8url; videoTexture.element.load(); videoTexture["_video"] = videoTexture.element; } function playVideo(){ //这里就做一些video的参数设置,比如静音、循环、播...

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

30. laya.d3.graphics.VertexElementFormat [ 81%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexElementFormatMethods | Constants Packagelaya.d3.graphicsClasspublic class VertexElementFormatInheritanceVertexElementFormat Object ... Public Methods  MethodDefined By  getElementInfos(element:String):Array[static] 获...

来源: Laya2.0_api 发布时间: 20190513