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

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

21. laya.resource.NativeContext_API3.0 [ 47%]

...Buffer Defined in laya/resource/NativeContext.ts:75 _byteArray _byteArray: Uint8Array Defined in laya/resource/NativeContext.ts:74 _fdata _fdata: Float32Array Defined in laya/resource/NativeContext.ts:73 _idata _idata: Int32Array Defined in laya/resource/NativeContext.ts:72 sprite sprite: any = null...

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

22. socket大型项目回调 [ 33%]

...er.writeArrayBuffer(body, 0, len); if(len){ body = new Laya.Byte(buffer.getUint8Array(buffer.pos,buffer.bytesAvailable)); } } else { console.log("[Package] no enough length for current type:", type); } return {type:type, body:body, length:len}; } } class Message implements IMessage{ public static MS...

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

23. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 30%]

...e function drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount); analyser.getByteFrequencyData(dataArray); var step:int = Math.round(dataArray.length / 60); for (var i:int = 0; i < 40; i++) { var energy:int = (dataArray[step * i] / 2...

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

24. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 29%]

... } private drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(this.analyser.frequencyBinCount); this.analyser.getByteFrequencyData(dataArray); var step:number = Math.round(dataArray.length / 60); for (var i:number = 0; i &lt; 40; i++) { var energy:number = (d...

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