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

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

21. laya.utils.Byte [ 85%]

...流的当前字节偏移量位置处读取一个 Uint32 值。 Byte  readUint8():uint 从字节流的当前字节偏移量位置处读取一个 Uint8 值。 Byte  readUint8Array(start:int, len:int):Uint8Array 从字节流中 start 参数指定的位置开始,读取 len 参数指定的字节数...

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

22. laya.utils.Byte [ 85%]

...流的当前字节偏移量位置处读取一个 Uint32 值。 Byte  getUint8():uint 从字节流的当前字节偏移量位置处读取一个 Uint8 值。 Byte  getUint8Array(start:int, len:int):Uint8Array 从字节流中 start 参数指定的位置开始,读取 len 参数指定的字节数...

来源: laya_api 发布时间: 20170929

23. laya.utils.Byte_API3.0 [ 82%]

...64 readInt16 readInt16Array readInt32 readString readUint16 readUint32 readUint8 readUint8Array writeArrayBuffer writeByte writeFloat32 writeFloat64 writeInt16 writeInt32 writeUTFBytes writeUTFString writeUTFString32 writeUint16 writeUint32 writeUint8 getSystemEndian Constructors constructor new Byt...

来源: Laya3.0_api 发布时间: 20231115

24. laya.d3.terrain.unit.ChunkInfo [ 81%]

...d By  alphaMap : Vector.<String>ChunkInfo  detailID : Vector.<Uint8Array>ChunkInfo  normalMap : StringChunkInfoPublic Methods  MethodDefined By  ChunkInfo()ChunkInfoProperty DetailalphaMappropertypublic var alphaMap:Vector.<String>detailIDproperty public var detailID:Vect...

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

25. RenderTexture的像素读取(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 78%]

...机渲染目标的像素数据,默认renderTarget的颜色为RGBA var out:Uint8Array = new Uint8Array(2048*2048*4); renderTargetCamera.renderTarget.getData(0, 0, 2048, 2048, out); //设置纹理的填充像素像素 tex.setPixels(out); ``` 在开始渲染后,我们调整视角就可以看到拍照...

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

26. RenderTexture类的getData()方法存在BUG,得到的像素值全部为透明! [ 77%]

...getData()方法存在BUG,得到的像素值全部为透明! let data: Uint8ClampedArray = new Uint8ClampedArray(this.renderTargetCamera.renderTarget.getData(0, 0, 1024, 1024)); let imageData: ImageData = new ImageData(data, 1024, 1024); let canvas: HTMLCanvasElement = document.createElement("can...

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

27. websocket通信,怎么解压 压缩的Byte? [ 75%]

...弟 用法 var zlib:* = __JS__("Zlib"); var inflate = new zlib.Inflate(new Uint8Array(rawData)); var plain:Uint8Array = inflate.decompress(); var ba:Byte = new Byte(plain); ba.pos = 0; ba.endian = Byte.BIG_ENDIAN;//根据自身情况写 lib.rar 2018-05-05 0 1 分享 微博 QZONE 微信 Meng℡ 赞...

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

28. laya.d3.graphics.VertexBuffer3D_API3.0 [ 75%]

...rs bufferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage setData unbind Constructors constructor new VertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): VertexBuffer3D Overrides VertexBuffer.constructor Defined in laya/d3/graphic...

来源: Laya3.0_api 发布时间: 20231115

29. laya.d3.graphics.IndexBuffer3D_API3.0 [ 75%]

...rns IndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffer.ts:10 _bufferUsage _bufferU...

来源: Laya3.0_api 发布时间: 20231115

30. js如何解析nettywebsocket发的二进制数据中的utf8汉字 [ 74%]

...getInt8(4),view.getInt8(5),view.getInt8(6));// -28 -67 -96 console.log(new Uint8Array(view.buffer));//Uint8Array(7) [0, 0, 0, 3, 228, 189, 160]   怎么解析成汉字呢,还有为什么得到的数据也是不一样的呢   2018-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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