大约有 150 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)
...SimpleSingletonList类的add函数改成这样可以先用着 add(element) { var index = element._getIndexInList(); if (index !== -1) //throw "SimpleSingletonList:" + element + " has in SingletonList."; return...
来源: Laya_社区 发布时间: 20191021
...不明白你表述的是什么意思?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
...的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
...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
...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
...引擎临时处理下,增加一个消耗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
...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
... //世界矩阵 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
...}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
...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