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

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

711. Laya.loader.create 进度回调函数执行两次 [ 70%]

...eate(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); }   输出结果: 0.19186599730944645 0.5251993306427798 1 0.5002049180327869 0.5626793032786885 0.625153688524590...

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

712. laya.maths.Rectangle [ 70%]

...— 如果 Rectangle 对象包含指定的点,则值为 true;否则为 false。 copyFrom()method  public function copyFrom(source:Rectangle):Rectangle 复制 source 对象的属性值到此矩形对象中。 Parameters source:Rectangle — 源 Rectangle 对象。 ReturnsRectangle — 返回属...

来源: laya_api 发布时间: 20170929

713. 两个panel嵌套,都是竖直方向滑动,滑动冲突如何解决? [ 70%]

...下属性,控制外部Panel this.my_panel.vScrollBar.touchScrollEnable=false; this.my_panel.vScrollBar.mouseWheelEnable=false;   请问Laya的Panel控件有其他属性,可以简单处理这种问题吗?   2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

714. laya.display.FrameAnimation_API3.0 [ 70%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

来源: Laya3.0_api 发布时间: 20231115

715. 2.0打包apk崩溃报错,有堆栈 也是在so里面 [ 70%]

... /system/lib/libart.so (art::JValue art::interpreter::ExecuteSwitchImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)+62039) [x86] 6 #05 pc b27cb9b4 <unknown>      native版本 2.5.0  引擎版本2.5.0 2020-08-14 添加评论 免费...

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

716. WaterPrimaryMaterial的使用 [ 70%]

... as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); // var material: Laya.WaterPrimaryMaterial = new Laya.WaterPrimaryMaterial(); var material: Laya.WaterPrimaryMaterial = Laya.WaterPrimar...

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

717. 关于小游戏的缓存bug [ 70%]

...而laya还是会copy一份,并且设置Laya.MiniAdpter.autoCacheFile = false;Laya.MiniAdpter.AutoCacheDownFile = false;也没啥用。这样的问题导致首次进入非常非常非常的慢,因为3d游戏的文件往往会很多。    看了最新版本的库(2.5.0),依然有这个问题...

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

718. 在Unity中导出拖尾系统(ActionScript-3D基础(AS3)-LayaAir3D之拖尾系统) [ 70%]

.../使用差速来体现移动 box.transform.translate(new Vector3(0,0.05,0),false); camera.transform.translate(new Vector3(0,04,0),false); }); })); ``` ![](img/3.gif)(图3)

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

719. [LayaAirIDE2]华为手机微信版本8.0.45浏览器出现闪屏问题 [ 70%]

...会继续开始闪屏。经试验,无论使用 Laya.Config.isAntialias = false; Laya.Config.useWebGL2 = false;还是在Context.ts中的_flushToTarget方法中,target.start()前加上gl.flush()都无济于事。 清理微信缓存也无用,但据说重装微信会好,但此举代价太大不...

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

720. 关于 使用mipmap则在原来的基础上增加1/3内存大小 [ 70%]

...lImage的mipmap默认传入的是true,对于2d项目,是否可以传入false以节省这部分的内存开销。 还有在mipmap关闭的情况下,WebGLImage在设置memorySize的地方是否应该加一个mipmap的判断,以得到更准确的内存占用值?   非常感谢。。 附件 :...

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