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

大约有 1,071 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

421. [LayaAir3]性能面板 FrustumCulling 和 RenderNode 节点数据一样 [ 62%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 大量sprite如何优化性能 请教下微信小游戏的内存和数据缓存? 1.7.20beta有bug,帧属性面板打不开 laya如何重写console.log 打...

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

422. UI-ProgressBar [ 62%]

...ogressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } } new UI_ProgressBar();module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; expo...

来源: Laya2.0_示例 发布时间: 20251130

423. 骨骼动画-藤蔓 [ 62%]

....ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mA...

来源: Laya_示例 发布时间: 20251130

424. 骨骼动画-橡胶人 [ 62%]

....ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(...

来源: Laya_示例 发布时间: 20251130

425. 点击事件会导致setTimeout setInterval 延迟执行的问题 [ 62%]

...setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个很大的问题,...

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

426. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 62%]

...bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas().toDataURL("image/png"); // this.view.image_rank_list.source = img; // var canvas_2d_ctx = canvas.getContext('2d') // canvas_2d_ctx.drawImage(wxMgr.getOpenDataCa...

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

427. Laya.Handler.create 加载图片回调参数问题 [ 62%]

...mg/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]);   为什么不能把Laya.Hander.create后面带的这个参数传到Function里面?       附件 : --> 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

428. 裁切图片后,该用什么方式去重绘出裁切后的图片 [ 61%]

...ctx.clear()         const len = points.length;         console.log("ppppppppppppppp ", points)         ctx.drawPoly(0, 0, points, "#FFFFFF", "#FF00FF", 1)     } 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

429. 移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? [ 61%]

...t fun = () => {             let dt = new Date()             console.log("=============>", (dt.getTime() - this.IndexFrame));             this.lbTips.text = this.lbTips.text + " " + (dt.getTime() - this.IndexFrame);             this.IndexFrame = dt.getTime();        ...

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

430. Cannot read property 'rayCast' of undefined [ 61%]

...s.scene.cannonPhysicsSimulation.rayCast(this.ray,out); if(out.succeeded) { console.log(111); } } } 附件 : --> web.rar 2020-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 程程 赞同来自: 问题解决...

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