大约有 374 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
... 通过代码设置触发器的方式: /* ……省略若干代码 */ //获取物理刚体组件 this.rigidbody1 = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; this.rigidbody2 = this.cube2.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //设置rigidbody1为触发器,取消...
来源: Laya3.0_文档 发布时间: 20251010
...URL(tempAtlasPngUrl), atlasJson); } } else { throw "传递的url没有获取到对应的图集数据信息,请确保图集已经过!"; } } } static postInfoToContext(url, atlaspngUrl, atlasJson) { var postData = { "frames": atlasJson.frames, "meta": atlasJson.meta }...
来源: Laya_社区 发布时间: 20200103
...就是 cubemap 贴图。因此,IBL 的重点就在于如何从图像中获取光照信息。 iblSamples:基于图像的光照的采用率,采样的越多,就越接近真实 ibl Tex:环境立方体贴图 (Cubemap) ibl Tex RGBD:默认采用RGB深度图 采用IBL时,环境光必须采用 ...
来源: Laya3.0_文档 发布时间: 20251010
...ind console.log("c:",c.id);//c:2 } 是不是发现b只处理了set后无法获取id的值。 5.pomelo 说实话,框架真心不错,客户端也简单,具体介绍看github上的介绍吧,https://github.com/NetEase/pomelo,谈到这个就顺便讲讲如何使用第三方库吧,以pomeloClien...
来源: Laya_社区 发布时间: 20161109