大约有 114 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya_社区(49) Laya3.0_api(29) laya_api(17) Laya2.0_文档(5) Laya3.0_文档(5) Laya2.0_api(5) Laya2.0_示例(2) Laya_示例(2)
...环解析下一个包头 以此类推 如果data长度不够 就存入buffer 等待后续data 直到长度足够再解析 2018-07-31 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 原理上websocket应该每次接收都是一个完整的包,因为他在发送数据的时候已经...
来源: Laya_社区 发布时间: 20180731
...ure)。Loader AVATAR : String = AVATAR[static] Avatar资源。Loader BUFFER : String = arraybuffer[static] 二进制类型,加载完成后返回arraybuffer二进制数据。Loader FONT : String = font[static] 位图字体类型,加载完成后返回BitmapFont,加载后,会根据文...
来源: Laya2.0_api 发布时间: 20190513
...teLocalBounds getAccessorComponentsNum getAnimationRoot getAttributeNum getBufferwithAccessorIndex getTextureConstructParams getTextureFilterMode getTextureFormat getTextureMipmap getTexturePropertyParams getTextureWrapMode getTexturewithInfo pickMeshMaterials Properties Static Extensions Extensions...
来源: Laya3.0_api 发布时间: 20231102
...ArrayCoordinate transformVector3ArrayToVector3ArrayNormal uint8ArrayToArrayBuffer Properties Static _tempV0 _tempV0: Vector3 = new Vector3() Defined in laya/d3/utils/Utils3D.ts:153 Static _tempV1 _tempV1: Vector3 = new Vector3() Defined in laya/d3/utils/Utils3D.ts:154 Methods Static PointinTriangle ...
来源: Laya3.0_api 发布时间: 20231115
...代码如下:var inflate = new Zlib.Inflate(new Uint8Array(data)); var outbuffer = inflate.decompress(); var sourceBytes:Laya.Byte =new Laya.Byte(outbuffer.buffer); sourceBytes.endian = "BIG_ENDIAN"; var jsonstr:string = sourceBytes.readUTFBytes(sourceBytes.bytesAvailable) 2018-04-19 添加评论 ...
来源: Laya_社区 发布时间: 20180419
...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
...dn上给的例子。 https://mdn.github.io/webaudio-examples/stream-source-buffer/ 开发者用手机或者微信打开这个地址测试下你手机的支持度。 这个是个测试的连接,协议也是https的,开发者在调用摄像头的时候要注意这一点。自己的远端地址一...
来源: Laya3.0_文档 发布时间: 20251010
...理? httprequest ios手机上请求提示Request failed status:0 Array buffer allocation failed WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header httpRequest send返回Request failed Status:0 手机调试时http请求错误,返回Request failed Status:0 FATAL ERROR: C...
来源: Laya_社区 发布时间: 20190307
...tance.ShowTips(str,"Confirm",OnCallBack); } } } else if (message is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function OnCallBack():void { MsgManger.SendMsg("LoginOut"); } private function onConnectError(e:Event=null):void { trace("error"); } } } ...
来源: Laya_社区 发布时间: 20170724
...Air2.11beta版本开始,新增了一个重磅功能。那就是在CommandBuffer中增加了渲染指令drawMeshInstance,还有增加了DrawMeshInstancedCMD渲染命令类。本文就是针对新功能的使用,结合官网示例进行介绍说明。 > **提示**: > > 1、本文中涉及的...
来源: Laya2.0_文档 发布时间: 20210714