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

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

101. laya3.0中jszip使用异常 [ 76%]

...        JSZip.loadAsync(value).then(                     (zipData: JSZip) => {                         console.log(zipData.files);                         for (let i in zipData.files) {                             console.log(`key=${i},value=${z...

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

102. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 75%]

...ht TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0        [ERROR] (/opt/jenkins/workspace/vivo_vfile:///...

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

103. [LayaAir3]GList点击出现连续点击问题 [ 75%]

...滚动后发生cell复用,相当于在重复注册事件.   在refresh data后,你也相当于在重复注册事件,所以你 reload all data 几次,你就会重复几次.   首先你的这写法不正规,不和文档; 再者,如果就按你这个路数,你在 on 注册事件之前...

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

104. layaAir支持xml加载和使用吗 [ 75%]

...mlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("data.xml"); trace(xml); } } }运行效果如下:   2016-...

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

105. [LayaNative3]Laya3.3.0 beat4 发布windows 无法导出自己的wasm文件 [ 75%]

...   return Laya.Laya.loader.fetch("libs/" + wasmFile, "arraybuffer").then(data => {                     if (data) {                         let module = new window.WebAssembly.Module(data);                         let instance = new window.WebAssembly.Instance(mo...

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

106. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 75%]

...fferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage serilizeVertexDeclaration setData unbind Constructors constructor new NativeVertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): NativeVertexBuffer3D Overrides VertexBuffer3D.con...

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

107. 在LayaIDE中下载的运行器启动报错 [ 75%]

...04.986 15556-15556/? E/LayaConch5: plugin-----------------EngineStart() = /data/data/com.layabox.conch5//LayaCache/localstorage 03-19 15:01:05.101 15556-15556/? E/SysUtils: ApplicationContext is null in ApplicationStatus 03-19 15:01:05.326 15556-15556/? E/0: ==============Java流程 FlashScreen star...

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

108. laya.resource.TextResource_API3.0 [ 75%]

...rarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateU...

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

109. Native下http请求,Error事件中的error对象错误码全都是404 [ 74%]

...); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHandler) { this.completeHandler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this...

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

110. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 74%]

...ean = false; private refreshCamera(){ this.curStatus =!this.curStatus; let data:ArrayBuffer = Laya.Loader.getRes(this.AllPng[this.curStatus ? 0: 1]);//pic-001 const x2 = new Uint8Array(data); let p = new window['PNG'](x2); let getData = p.decode();//rgba数组序列 this.texture.setPixels(getData); ...

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