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

大约有 193 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0033 秒)

61. laya.d3.graphics.VertexElementFormat [ 83%]

...anceVertexElementFormat Object ... Public Constants ConstantDefined By  Byte4 : String = byte4[static] VertexElementFormat  Color : String = color[static] VertexElementFormat  HalfVector2 : String = halfvector2[static] VertexElementFormat  HalfVector4 : String = halfvector4[static] VertexEl...

来源: laya_api 发布时间: 20170929

62. httpRequest send返回Request failed Status:0 [ 82%]

...写入了四个字节的数据 //......解密逻辑开始处理数据 var byte = new Laya.Byte(data); //Byte数组接收arraybuffer // byte.writeArrayBuffer(data,4);//从第四个字节开始读取数据 var blob = new Laya.Browser.window.Blob([byte.buffer], { type: "image/png" }); var url = Laya.Br...

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

63. laya.d3.graphics.VertexElementFormat [ 82%]

...格式信息。 VertexElementFormatPublic Constants ConstantDefined By  Byte4 : String = byte4[static] VertexElementFormat  Color : String = color[static] VertexElementFormat  HalfVector2 : String = halfvector2[static] VertexElementFormat  HalfVector4 : String = halfvector4[static] VertexEl...

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

64. js socket 连接不上 [ 82%]

...(800,600,Laya.WebGL); // var socket = io.connect('10.10.1.103:8081'); this.byte = new Laya.Byte(); this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://10.10.1.103:8888"); // this.sock...

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

65. native 下载文件出现not same app domain [ 81%]

...t same app domain LayaBox : xhr.get url=A/7ac97acac07a28873c87f19ba794c498.bytes 12-19 14:33:07.993 28268 28335 W LayaBox : Error: A/7ac97acac07a28873c87f19ba794c498.bytes does not belong to the same app domain: B/ 12-19 14:33:07.993 28268 28317 I LayaBox : Download [ ]:A/7ac97acac07a28873c87f19ba79...

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

66. as怎么用protobytebuf传输数据到服务端 [ 81%]

as怎么用protobytebuf传输数据到服务端 附上部分代码 我发送到服务器,接收到的数据为空,是不是哪里写错了?protibufDemo也是从你们哪里下载下来模拟的,服务端接收代码 WebSocketFrame frame = (WebSocketFrame)msg; ByteBuf buf = frame.content(); ...

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

67. UTF8格式通信的问题 [ 80%]

...ge 是string类型,为了保证中文不乱码,就需要转utf var testbyte:Byte = new Byte(); testbyte.writeUTFBytes(message); 如何用socket发送Byte类型 官网demo里是对于string类型发送是如下处理: for (var i = 0; i < message.length; ++i) { output.writeByte(message.charCo...

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

68. 网络和格式-Socket [ 79%]

...效。(function() { var Event = Laya.Event; var Socket = Laya.Socket; var Byte = Laya.Byte; var socket; var output; (function() { Laya.init(550, 400); connect(); })(); function connect() { socket = new Socket(); //socket.connect("echo.websocket.org", 80); socket.connectByUrl("ws://echo.websocket.org...

来源: Laya_示例 发布时间: 20240929

69. ByteArray 有Ts版本的么 [ 79%]

ByteArray 有Ts版本的么 官方群提供的貌似是 as3的 可有ts版本的共享一份 2017-11-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: ts或js项目你直接用...

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

70. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 79%]

...gt;{ //获得res的ArrayBuffer数据 let arraybuffer: ArrayBuffer = res; //Byte数组接收arraybuffer let byte:Byte = new Byte(arraybuffer); //从第四个字节开始读取数据 byte.writeArrayBuffer(arraybuffer,4); //获得最终的ArrayBuffer let imageArrayBuffer = byte.buffer; //实例化一...

来源: Laya3.0_文档 发布时间: 20230303