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

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

211. 【官网代码】加载dom音频报错,怎么回事? [ 63%]

...3-4-1 其中,加载dom音频报错,怎么回事? package{import laya.events.Event;import laya.net.HttpRequest;import laya.net.Loader;import laya.utils.Browser; public class Main{private var AudioContext:Object;private var audioContext:Object;private var analyser:Object;private var audioBuffer...

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

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

...ug: false, }); hls.loadSource(m3u8url); hls.attachMedia(video); hls.on(HLS.Events.MEDIA_ATTACHED, () => { video.muted = true; this.playVideo(); }); hls.on(HLS.Events.ERROR, (event, data) => { console.log("HLS加载失败"); }); hlsxx = hls;//方便销毁用hlsxx.destroy(); }else if(videoTextur...

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

213. laya.d3.core.light.DirectionLight [ 63%]

...sses | Index | Frames No Frames DirectionLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Pr...

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

214. UI-RefreshList [ 62%]

...种开发语言、LayaAirIDE让项目开发更高效。Stage = Laya.Stage; Event = Laya.Event; Box = Laya.Box; List = Laya.List; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextA...

来源: Laya2.0_示例 发布时间: 20251209

215. [LayaAir3]GList点击出现连续点击问题 [ 62%]

...hildByName('name').offAllCaller(this); item.getChildByName('name').on(Laya.Event.CLICK, this, ()=>{ ... }     2025-10-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1754891146用户 相关问题 laya针对页游耗用内存大的...

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

216. laya.d3.core.pixelLine.PixelLineSprite3D [ 62%]

...s | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类用于像素线渲染精灵。 Public Propertie...

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

217. 项目做了一周.然后打不开了.怎么办? [ 62%]

...ayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:390:36) at EventEmitter.restartServer.getPort (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:372:18) at Server.<anonymous> (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.j...

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

218. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 62%]

...享 微博 QZONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) {     this._data = [1];   this.list.array = this._data; this.list.y = 220; this.list.height = 300;   }   代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位...

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

219. laya.resource.VideoTexture_API3.0 [ 62%]

...tSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once videoPause videoPlay destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defin...

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

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

...Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private curStatus:boolean = false; private refreshCamera(){ this.curStatus =!this.curStatus; let data:ArrayBuffer =...

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