大约有 88 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0036 秒)
Laya_社区(41) Laya3.0_api(19) Laya2.0_文档(8) Laya2.0_api(8) laya_api(5) Laya3.0_文档(5) Laya2.0_示例(1) Laya_示例(1)
...enderTexture2D getData(x:Number, y:Number, width:Number, height:Number):Uint8Array 获得像素数据。 RenderTexture2D getDataAsync(x:Number, y:Number, width:Number, height:Number, callBack:Function):void native多线程 RenderTexture2D getIsReady():BooleanRenderTexture2D popRT():void[...
来源: Laya2.0_api 发布时间: 20190513
...ffer', success(res) { console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data)))); } }); //处理中文 function decodeUTF8(arr,toType) { //转为utf8编码字符串 let str = ''; for (var i = 0; i < arr.length; i++) { ...
来源: Laya_社区 发布时间: 20191211
... 2 人 ryusing • 2017-11-22 21:56 用js 原生的库, as3如何传一个 uint8array 的数 给库去做 compress和uncompress 操作?
来源: Laya_社区 发布时间: 20161219
...Data(xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Defined in laya/d3/resource/RenderTexture.ts:229 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array | Float32Array Returns Uint8Array ...
来源: Laya3.0_api 发布时间: 20231102
...Data(xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Defined in laya/resource/RenderTexture.ts:233 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array | Float32Array Returns Uint8Array | F...
来源: Laya3.0_api 发布时间: 20231115
...z0123456789+/" Defined in laya/utils/Base64Tool.ts:3 Static lookup lookup: Uint8Array = null Defined in laya/utils/Base64Tool.ts:8 Static reg reg: RegExp = /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*?)\s*$/i Defined in laya/utils/Base64Too...
来源: Laya3.0_api 发布时间: 20231115
...Data(xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTextureCube.getData Defined in laya/d3/resource/RenderTexture.ts:229 Parameters xOffset: number yOffset: number width: number height: number out: Uint...
来源: Laya3.0_api 发布时间: 20231102
...function _arrayBufferToBase64( buffer ) { var binary = ''; var bytes = new Uint8Array( buffer ); var len = bytes.byteLength; for (var i = 0; i < len; i++) { binary += String.fromCharCode( bytes[ i ] ); } return window.btoa( binary ); } mainvar picdata=message.slice(8); //从Byte流切出来的图...
来源: Laya_社区 发布时间: 20170803
...Data(xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTexture.getData Defined in laya/resource/RenderTexture.ts:233 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array ...
来源: Laya3.0_api 发布时间: 20231115
...Data(xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTexture.getData Defined in laya/resource/RenderTexture.ts:233 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array ...
来源: Laya3.0_api 发布时间: 20231115