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

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

531. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 62%]

...ypescript Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMate...

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

532. 动画实例在调用含有名字参数的时候获取不到边界 [ 62%]

... i of this.playerUnit ){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.playerUnitLoaded)); } for(let i of this.enemyUnit){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.enemyUnitLoaded)); } } playerUnitLoaded(){ for(let i in this.playerUnit){...

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

533. 加载.lh文件 运行后黑屏 无法显示 [ 62%]

...ya3D.HIERARCHY, priority: 1}];     //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete));         Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete));     }     public onComplete():void {     //创建...

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

534. Laya.loader.load和new Laya.Loader区别? [ 62%]

...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 layaair与layabox的区别 atlas目录下.json文件与.atlas的区别 使用Laya.loader.load缓存下来的文件还在res目录下吗?在编辑模式下怎么调用缓存下来...

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

535. 【BUG】加载的url中有错误url时,laya偶现加载complete不回调 [ 62%]

...im_path5 }, ]; Laya.loader.retryNum = 0; Laya.loader.create(res3DArr, Laya.Handler.create(this, this.onRes3DLoaded), null);   结论:onLoad时checkNext触发endLoad,会重置customParse属性,onError的时候没有触发这个逻辑,导致复用这个loader时,customParse属性不正确...

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

536. 2.2.0beta4 vivo小游戏加载不了3D场景 [ 62%]

...空场景 Laya.loader.create(`LayaScene_main/Conventional/main.ls`, Laya.Handler.create(this, (scene: Laya.Scene3D)=>{ Laya.stage.addChild(scene); }));   附件 : --> myLaya.zip 2019-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

537. 3D模型无法用Tween类吗 [ 62%]

...ion;Laya.Tween.to(box.potOld,{     x:1     ,y:2     ,update:new Laya.Handler(box,function(){         this.transform.position = this.potOld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animation...

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

538. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 62%]

... Laya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(this, onComplete)); } ////完成回调 public function onComplete():void { //获取资源 var layaMonkey:Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")) as Sprite3D; ...

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

539. unity导出有动作的模型,加载时报错 [ 62%]

....Sprite3D.load("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); }));   报错信息laya.d3.js:6573 Uncaught TypeError: Cannot set property 'x' of un...

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

540. 加载时间轴动画报错 [ 62%]

...ni = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '_create' of null     at Animat...

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