大约有 207 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...: string = "res/example1.swf"; 就只有这里改了 /** *从字节流的当前字节偏移量位置处读取一个 Int16 值。 *@return Int16 值。 */ __proto.getInt16=function(){ if (this._pos_+2 > this._length)throw "getInt16 error - Out ...
来源: Laya_社区 发布时间: 20181025
...in laya/d3/math/Rand.ts:20 通过无符号32位整形,获取无符号8位字节随机数。 Parameters v: number Returns number 无符号8位字节随机数。 Static getFloatFromInt getFloatFromInt(v: number): number Defined in laya/d3/math/Rand.ts:10 通过无符号32位整形,获取32位浮...
来源: Laya3.0_api 发布时间: 20231115
...片等资源进行加密。所谓的加密就是打乱资源本来的存储字节,或者穿插一些东西。但是到了html5时代,发现基本都是直接加载的图片,为什么和页游时代做法不一样了呢?是不是html5不能加载解码二进制图片?当然不是。之所...
来源: Laya3.0_文档 发布时间: 20230303
...从 Sprite 类继承的对象)。 注意:对于 RGBA 值,最高有效字节代表红色通道值,其后的有效字节分别代表绿色、蓝色和 Alpha 通道值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _filter : Function[...
来源: Laya2.0_api 发布时间: 20190513
... 1 个回复 moketao 赞同来自: 这是要多节省带宽资源才一个字节一个字节的自己写。。。 建议还是用 protobuf 压缩率未必比自己写的差。 2017-07-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ko...
来源: Laya_社区 发布时间: 20170628
...据,假设我们的图片加密数据是在图片的前面写入了四个字节的数据 //......解密逻辑开始处理数据 var byte = new Laya.Byte(data); //Byte数组接收arraybuffer // byte.writeArrayBuffer(data,4);//从第四个字节开始读取数据 var blob = new Laya.Browser.window.B...
来源: Laya_社区 发布时间: 20180629
...; byte.writeInt32(MSG_HEADER.LoginGame);//和服务端约定好,前四个字节存放协议的名称 var login:any = new pack.LoginGame; login.set("account",""); login.set("passwd",""); var buffer:any = login.encode().toBuffer(); byte.writeArrayBuffer(buffer); this.socket.socket.flush(); }请问...
来源: Laya_社区 发布时间: 20170217
...据,假设我们的图片加密数据是在图片的前面写入了四个字节的数据 //.......解密逻辑开始处理数据。 // var byte = new Laya.Byte(data);//Byte数组接收arraybuffer // byte.writeArrayBuffer(data, 0);//从第四个字节开始读取数据 // var blob = new Laya.Browse...
来源: Laya_社区 发布时间: 20180201
...。 IndexBuffer3D indexTypeByteCount : int[read-only] 获取索引类型字节数量。 IndexBuffer3DProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _buffer : *Buffer _bufferType : intBuffer _bufferUsage : intBuffer _glBuffer : ...
来源: Laya2.0_api 发布时间: 20190513
...tMemorySize : int[static] 资源管理器所管理资源的累计内存,以字节为单位。Stat drawCall : int = 0[static] 描绘次数。Stat FPS : int = 0[static] 每秒帧数。Stat loopCount : int = 0[static] 主舞台 Stage 渲染次数计数。 Stat onclick : Function[static] [wr...
来源: laya_api 发布时间: 20170929