大约有 23 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0024 秒)
...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
...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
... } 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 < 40; i++) { var energy:number = (d...
来源: Laya3.0_文档 发布时间: 20241014