大约有 3 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0166 秒)
...htCom = pointLight.addComponent(Laya.PointLightCom); pointLightCom.range = 2.0 + Math.random() * 8.0; pointLightCom.color.setValue(Math.random(), Math.random(), Math.random(), 1); pointLightCom.intensity = 6.0 + Math.random() * 8; moverLights[i] = pointLight; offsets[i] = new Vector3((Math.random() ...
来源: Laya3.0_文档 发布时间: 20251010
...der WorkerLoader异步解码图片 2.x版本文件格式支持 动态载入2.0格式的.ls和.lh文件(不包含IDE,IDE里都可以载入) 旧版本TiledMap支持 tiledmap地图接口封装 三、物理系统 3.1 2D物理 2D物理有一些全局的配置,如图3-1所示, (图3-1) 设...
来源: Laya3.0_文档 发布时间: 20251014
... // sample rate of the AudioContext var frameCount = audioCtx.sampleRate * 2.0; var myArrayBuffer = 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 &l...
来源: Laya3.0_文档 发布时间: 20251010