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

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

1. ios微信clone特效会导致特效的mesh无法显示 [ 100%]

ios微信clone特效会导致特效的mesh无法显示 我们项目在测试过程中发现ios微信的特效显示异常,但是android微信、ios浏览器、android浏览器都显示正常。 如图:   通过一个精简的例子,定位到是clone后再addChild的特效mesh就无法显示...

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

2. Resources already exist,is repeated loading 加载特效报重复加载 [ 93%]

...private scaleValue:number = 0;              private layaMonkey_clone1:Laya.Sprite3D;     private layaMonkey_clone2:Laya.Sprite3D;     private layaMonkey_clone3:Laya.Sprite3D;      private clone1Transform:Laya.Transform3D;     private clone2Transform:Laya.Transform3D;  ...

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

3. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 86%]

...oader.getRes("res/maze/img/demo/toolClock/Conventional/glow.lh").clone() glow.transform.localPosition = new Laya.Vector3(-1,0,-i); this.scene.addChild(glow); let puzzleA = Laya.Loader.getRes("res/maze/img/demo/toolClock/Conventional/puzzleA.lh").clone() puzzleA.transform.localPos...

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

4. 用了Sprite3D.instantiate方法,在iPhone6上性能降低了80% [ 80%]

...s3ds:{[key:string]:s3d;} = {};   static news3d(id):s3d{ return x.s3ds[id].clone() as s3d;//s3d.instantiate(x.s3ds[id]); }   static loads3d(id, path, handler=null):void{   s3d.load(path, Laya.Handler.create(null, function(sp){ x.s3ds[id] = sp; if(handler)handler.loadeds3d(id, sp); })); }  我首...

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

5. 资源回收的清理不干净的bug [ 80%]

...; i++){                 var ball = myscene.addChild(sp.clone());                 ball.name = i.toString();             }             console.log("add finished: ", myscene.numChildren);                  for(var i=0; i&...

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

6. [Laya2.0beta3] 3d模型克隆后 都不显示了 [ 79%]

...Model/LayaMonkey/LayaMonkey.lh")) as Sprite3D; //克隆sprite3d layaMonkey_clone1 = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克隆sprite3d layaMonkey_clone2 = scene.addChild(Sprite3D.instantiate(layaMonkey, null, false, new Vector3( -0.6, 0, 0))) as Sprite3D; 上图...

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

7. unity 导出scene 子元素的animator 怎么控制? [ 74%]

...anfuyu=scene.getChildByName('bianfuyu') that.ss=fuzhi(bianfuyu);      //clone() that.tt=ss.getComponentByIndex(0);     // tt   = animator tt.playbackRate =5  ;       //不会起作用 console.log(tt.currentKeyframeIndex)        //输出为-1                         上述...

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

8. 改造原生调用 [ 73%]

...ieAnimator.on is not a function 创建模型以后,调用destroy,以前clone的对象也消失了 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! laya支持批处理调用js压缩吗? Laya.Scene.open打开的对话框中如何在关闭的时...

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

9. 调用原生js [ 71%]

...及加载所有资源都失败 创建模型以后,调用destroy,以前clone的对象也消失了 调用动画结束on方法,报错this.zombieAnimator.on is not a function Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 Laya2.1.0 JS调用Java PlatformClass...

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

10. 3D的点光源或者聚光灯的光源会穿透模型 [ 68%]

...PrimitiveMesh.createBox(1, 1, 1));         let cube_2 = cube_.clone() as Laya.MeshSprite3D;         scene_.addChild(cube_2);         cube_2.transform.translate(new Laya.Vector3(0,0,-5));         scene_.addChild(spotLight_);         scene_.addChild(came...

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