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

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

201. 微信小游戏加载 BitmapFont 问题 [ 48%]

...isZiYu &&MiniAdpter.isPosMsgYu && type !=/*laya.net.Loader.BUFFER*/"arraybuffer"){ /*__JS__ */wx.postMessage({url:url,data:tempData,isLoad:"filedata"}); } thisLoader.onLoaded(tempData); }else if (errorCode==1){ MiniAdpter.EnvConfig.load.call(thisLoader,url,type,cache,group,ignoreCach...

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

202. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 48%]

...n上给的例子。 [https://mdn.github.io/webaudio-examples/stream-source-buffer/](https://mdn.github.io/webaudio-examples/stream-source-buffer/) 开发者用手机或者微信打开这个地址测试下你手机的支持度。 ![5](img/5.png) 这个是个测试的连接,协议也是https的,...

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

203. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 47%]

...(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数据,假设我们的图片加密数据是在图片的前面写入了...

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

204. httpRequest send返回Request failed Status:0 [ 47%]

...Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载完成返回的data是arraybuffer; //......这里处理我们...

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

205. Laya.SoundManager.playSound 无法播放出音效 [ 47%]

...了一下,是WebAudioSound.ctx.decodeAudioData(WebAudioSound.tInfo["buffer"],WebAudioSound._done,WebAudioSound._fail);这个一句decode失败了,回调到了WebAudioSound._fail这里面 是不是音频格式有什么要求? w1114367261 • 2018-04-23 11:48 mp3格式是完全支持...

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

206. [LayaAir3]调用renderTexture.getDataAsync且同时勾选camera的hdr或msaa,webgl必报错 [ 47%]

...需要使用 float32array接收,  开启msaa时rt会变为多重采样的buffer,msaa rt 暂不支持读取像素, 后续会在方法添加提示 2025-09-17 1 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您好,我用您的代码没能复现您说的问题,请您提供一个能...

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

207. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 47%]

...n上给的例子。 [https://mdn.github.io/webaudio-examples/stream-source-buffer/](https://mdn.github.io/webaudio-examples/stream-source-buffer/) 开发者用手机或者微信打开这个地址测试下你手机的支持度。 ![5](img/5.png) 这个是个测试的连接,协议也是https的,...

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

208. laya.d3.core.material.StandardMaterial [ 47%]

...aseMaterial _getBool(shaderIndex:int):* 获取布尔。 BaseMaterial _getBuffer(shaderIndex:int):* 获取Buffer。 BaseMaterial _getColor(shaderIndex:int):* 获取颜色。 BaseMaterial _getInt(shaderIndex:int):* 获取整形。 BaseMaterial _getMatrix4x4(shaderIndex:int):* 获取矩阵。 Base...

来源: laya_api 发布时间: 20170929

209. 音频解码一直遇到这个问题呢,不知道什么原因 [ 47%]

... 2018-05-31 11:12 这个报错说不能解码,第一个参数不是 arraybuffer 类型。 用arraybuffer 试试。 smile • 2018-05-31 11:13 @Laya_Aaron:但是我用的是as3写的 Laya_Aaron • 2018-05-31 11:15 @smile:和这个有关系吗? smile • 2018-05-31 11:49 但是无法编写到底...

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

210. laya.utils.Byte [ 47%]

...问数据的高级开发人员。 Public Properties PropertyDefined By  buffer : ArrayBuffer[read-only] 获取此对象的 ArrayBuffer 数据,数据只包含有效数据部分。 Byte  bytesAvailable : int[read-only] 可从字节流的当前位置到末尾读取的数据的字节数。 Byte ...

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