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

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

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

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

23. 和原生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