大约有 2,483 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
Laya2.0添加模糊滤镜报错 let bg = new Laya.Image(CommonConstant._hunterBgPath); let blurFilter:Laya.BlurFilter = new Laya.BlurFilter(); blurFilter.strength = 4; bg.filters = [blurFilter]; 报错: Laya.BlurFilter is not a constructor 怎么破? 2019-01-05 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20190105
laya2.0 截图功能分享,直接截取屏幕上所有对象 laya2.0官方推荐的截图方法,drawToCanvas在截取3d场景时,出现了模型穿插的情况,原因是因为这个api在截取3d场景时,不是根据z顺序下去,而是根据在children中的先后顺序排列的,所...
来源: Laya_社区 发布时间: 20191016
编译报错 出错了:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 附件 : --> 2020-05-28 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 赞同来自: 已解决,...
来源: Laya_社区 发布时间: 20200528
按文档示例写“Hello Layabox”一直报错是什么原因呢? 引擎版本:LayaAir 1.7.14 beta IDE版本:LayaAir IDE 1.7.14 beta 刚使用LAYA,好不容易解决了java的那个问题,又遇到了这个问题,麻烦帮我看下是什么原因应该怎么解决呢? 还有一...
来源: Laya_社区 发布时间: 20180102
this.scene.physicsSimulation.rayCastAll 报错 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point,this.ray); /// Laya.PhysicsSimulation.rayCast(this.ray, this.outHitResult, 30, 0) //拿到...
来源: Laya_社区 发布时间: 20190523
Laya2.7版本 导出来的粒子特效有一个报错, 其他几个都没问题, 请教下这个特效是哪里有问题 laya.d3.js:32205 Uncaught TypeError: Cannot read property 'mesh' of undefined at Function._getSprite3DHierarchyInnerUrls (laya.d3.js:32205) at Function._getSprite...
来源: Laya_社区 发布时间: 20201029
分享 Laya2.0 的3d截图 前段时间搞抖音3d小游戏,有一个截图的需求,才发现2d的截图不能用于3d截图,在论坛上也没有看到解决方案,昨天尝试了下最后出了解决方案,在这里分享下,直接上代码了 shot_4_4_4_4():void{ let...
来源: Laya_社区 发布时间: 20200815
Laya2.3.0beta发布的3D物理项目在百度开发工具上,用华为荣耀8A真机测试,3D场景出现闪屏 官方例子 下面两张图是百度回复的 附件 : --> myLaya.zip 2019-11-14 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20191114
laya2.0发布web游戏, 直接加载游戏页面,键盘响应正常, 通过iframe加载,键盘事件不会响应 laya2.0发布web游戏, 直接加载游戏页面,键盘响应正常, 通过iframe加载,键盘事件不会响应. 另外, 在游戏页内放置一个输入框, 点输入框后, 键盘...
来源: Laya_社区 发布时间: 20190611
用cannon测试 在U3D 中加MeshCollider后运行报 _addPhysicsCollider错误,取消后,则不会 ncaught TypeError: Cannot read property '_addPhysicsCollider' of undefined at PhysicsCollider._addToSimulation (laya.d3.js:28717) at PhysicsCollider._onEnable (laya.d3.js:2896) ...
来源: Laya_社区 发布时间: 20200702