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

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

831. Laya 中如何标识一个唯一对象? [ 57%]

...: 没有 2018-01-15 0 0 分享 微博 QZONE 微信 xtcel5805 赞同来自: if(!thisObj["$_GID"]) thisObj["$_GID"] = Laya.Utils.getGID();   2018-01-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 landys13 相关问题 看了其他引...

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

832. Sprite的destroy [ 57%]

Sprite的destroy destroyChildren() { if (this._children) { for (var i = 0, n = this._children.length; i < n; i++) { this._children[0].destroy(true); } } 这几行代码来自laya.core.js的12544行开始的,for循环里的this._children[0]是不是应该是this._children[i]?还是我的使用...

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

833. laya.wxmini.js 等小游戏包好像有错误 [ 57%]

...中查看是这样的 textureArr没有被用到,而且下面才去判断if (atlasJson.meta && atlasJson.meta.image)  在textureArr读取时没有atlasJson.meta 而报错 附件 : --> 2020-05-15 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

834. TS项目,, 有没有像AS里面的 is 属性 [ 57%]

...像AS里面的 is 属性 TS项目,, 有没有像AS里面的 is 属性 if( vo is BaseVO ) 就像这样,,,, 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: h...

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

835. destroy 报错 [ 57%]

...dByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {                     floor1.destroy();                     console.log("destroy~~~~~");                 }          ...

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

836. 3d库问题 [ 57%]

...关的链接 提交 1 个回复 Laya_XS 赞同来自: var distance:Number; if (!intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3.ZERO; return false; } distance 赋值是在intersectsRayAndPlaneRD方法里复制的,这是传递参数赋值,没有问题奥! 2017-02-26 0 4 分享 ...

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

837. 物理形状扫描检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 57%]

... = new SphereColliderShape(0.5); //使用球型碰撞器进行形状检测 if (castAll) { //进行形状检测,检测所有碰撞的物体 scene.physicsSimulation.shapeCastAll(sphereCollider, from, to, hitResults); for (i = 0, n = hitResults.length; i 该示例中射线摆放的半透明模型是使...

来源: Laya2.0_文档 发布时间: 20210715

838. 苹果上架问题, [ 57%]

... Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods,...

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

839. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 57%]

...();//rgba数组序列 this.texture.setPixels(getData); } private onKey(e){ if(e.keyCode == 49){ this.refreshCamera(); // this.updateUITexture(data); }else if(e.keyCode == 50){ // let t = Laya.Loader.getRes(this.AllPng[0]); // console.log(t); } } private onCallBack(){ var mater = new Laya.BlinnPhongM...

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

840. List 向上拖动到底出错 [ 57%]

...前Item是否为null,当不为null的时候再执行相应逻辑 譬如 if(item) {   trace("xxx") } 2016-08-30 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 刀客 相关问题 as3 ,LayaAir下调试matter.js物理引擎出错...

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