大约有 264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
Laya_社区(175) Laya3.0_api(33) laya_api(17) Laya3.0_文档(15) Laya2.0_文档(13) Laya2.0_api(5) Laya_示例(3) Laya2.0_示例(3)
...载类型后,会自动加入到对应的资源管理逻辑里。如果传BUFFER类型,岂不是还要自己做资源逻辑? 建议在load里加一个参数,写明是否是压缩。 cuixueying • 2017-03-21 15:59 如果你加载的是Buffer,直接再加载完成回调,通过Loader.getRes...
来源: Laya_社区 发布时间: 20170320
...012: 331.600006103515613: -5.099999944384835e-1414: -3.03830003738403315: 1buffer: (...)byteLength: (...)byteOffset: (...)length: (...)Symbol(Symbol.toStringTag): (...)__proto__: TypedArray__proto__: Object bom.transform.localRotation=new Laya.Quaternion(0, 0,0,0); //设置了localRot...
来源: Laya_社区 发布时间: 20170323
...Context Hierarchy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors...
来源: Laya3.0_api 发布时间: 20231102
...ecurity context: 0BA18CC5 <JS Object> 1: fromString(aka fromString) [buffer.js:~194] [pc=7BB54E79](this=216041A1 <undefined>,string=7AE742AD <Very long string[28528381]>,encoding=216041A1 <undefined>) 2: new constructor(aka Buffer) [buffer.js:~75] [pc=7B6A4B9C](this=7AE742C1 ...
来源: Laya_社区 发布时间: 20191225
..., 100); var assets = []; assets.push( { url: ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push( { url: ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler.create(this, onAssetsLoaded)); })(); function onAssetsLoaded() { var robotData = Loader.getRes(ROBOT_DATA_PATH); var r...
来源: Laya_示例 发布时间: 20260303
..., 100); var assets = []; assets.push( { url: ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push( { url: ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler.create(this, onAssetsLoaded)); })(); function onAssetsLoaded() { var robotData = Loader.getRes(ROBOT_DATA_PATH); var r...
来源: Laya2.0_示例 发布时间: 20260303
...?nav=zh-as-7-0-1。出现了问题 游戏运行一会出现 getAMesh resizeBuffer Array buffer allocation failed Uncaught RangeError:Array buffer allocation failed websocket connection failed: Invalid frame header /clang:-1: linker command failed with exit code 1 (use -v to see invocation) web和微...
来源: Laya_社区 发布时间: 20181121
...bufUtil = com.bee.protobuf; let msg = ProtobufUtil.ProtoArea.create(); let buffer = ProtobufUtil.ProtoArea.encode(msg).finish(); let decode = ProtobufUtil.ProtoArea.decode(buffer); console.log("test"); console.log(`buffer = ${Array.prototype.toString.call(buffer)}`); } 然后用import {testProto} ...
来源: Laya_社区 发布时间: 20171115
... i(TAG, "已连接到服务器:" +client); //获取客户端的输入流 BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream())); //读取第一行 String line = in.readLine(); if(line==null||line.equals("")||line.equals( "\r\n")){ break; } Log. i(TAG, "客户端发...
来源: Laya_社区 发布时间: 20160104
...需要调用Socket的send函数即可,参数可以是string或者是ArrayBuffer。 发送字符串格式: ```typescript this.socket.send("hello world");//这是发送字符串的形式。 ``` 发送二进制格式的数据: ```typescript this.byte.writeByte(1);//写入一个字节 this.byte.wr...
来源: Laya2.0_文档 发布时间: 20210714