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

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

831. 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

832. 物理形状扫描检测(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

833. 苹果上架问题, [ 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

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

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

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

835. 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

836. Slider 控件源码逻辑异常 [ 57%]

...了,bug已修复,等待下次发版,或您手动修复一下。   if (this._max >= this._min) {             this._value = this._value > this._max ? this._max : this._value < this._min ? this._min : this._value;         } else {             //当设置的最小值大...

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

837. 组件Clip(play方法的bug) [ 57%]

...1 个回复 朱峰 赞同来自: __proto._loop=function(){         if (this._style.visible && this._sources){             this._index++;//这里又++   2018-11-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

838. 玩一玩不能获取到正确读取像素图 [ 57%]

...Laya.Texture = Laya.loader.getRes("res/Arrou_NavMap.png") as Laya.Texture; if(navTexture != null) { let pixelBuffer = navTexture.getPixels(0, 0, navTexture.width, navTexture.height);        Texture在玩一玩上获得的像素都是0,在其它地方都是对的。 附件 : --> ClientTest.zip...

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

839. 调用Laya.Geolocation,程序卡死 [ 57%]

调用Laya.Geolocation,程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 Q...

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

840. list如何在回弹的时候添加一个回调 [ 57%]

...调,如果你是想监听list列表滑到了最底部,可以判断下if(list.scrollBar.value==list.scrollBar.max) 2017-03-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lrx0326 相关问题 两个对象new了一个相同的对象...

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