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

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

61. laya.resource.RenderTexture2D [ 58%]

...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

62. 教你微信小游戏使用服务端gzip数据。 [ 57%]

...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

63. as3 byteArray的compress 与laya的byteArray JS库的 uncompress是否能搭配? [ 57%]

... 2 人 ryusing • 2017-11-22 21:56 用js 原生的库, as3如何传一个 uint8array 的数 给库去做 compress和uncompress 操作?

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

64. laya.d3.resource.RenderTexture_API3.0 [ 57%]

...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

65. laya.resource.RenderTexture_API3.0 [ 57%]

...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

66. laya.utils.Base64Tool_API3.0 [ 56%]

...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

67. laya.d3.resource.RenderTextureCube_API3.0 [ 56%]

...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

68. 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 [ 56%]

...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

69. laya.resource.RenderTextureCube_API3.0 [ 56%]

...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

70. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 56%]

...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