大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0028 秒)
...hics.endFill(); addChild(sprite); sprite.addEventListener(MouseEvent.CLICK,onClick); function onClick(evt:MouseEvent):void { trace("------aaa---------"); } ``` **LayaAir引擎中正确的用法示例:** 实现方法一: ```java var sprite:Sprite = new Sprite(); sprite.graphics.drawRect(100,100,1...
来源: Laya2.0_文档 发布时间: 20191206
...hics.endFill(); addChild(sprite); sprite.addEventListener(MouseEvent.CLICK,onClick); function onClick(evt:MouseEvent):void { trace("------aaa---------"); } ``` **LayaAir引擎中正确的用法示例:** 实现方法一: ```java var sprite:Sprite = new Sprite(); sprite.graphics.drawRect(100,100,1...
来源: Laya2.0_文档 发布时间: 20210714
...Buffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel 总结:可以看到 web的声音功能越来越强大,假如不考虑某些低端机的兼...
来源: Laya2.0_文档 发布时间: 20210715
...Buffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var n...
来源: Laya2.0_文档 发布时间: 20210715
...Buffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel 总结:可以看到 web的声音功能越来越强大,假如不考虑某些低端机的兼...
来源: Laya2.0_文档 发布时间: 20210714