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

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

31. 灯光-聚光 [ 74%]

...a.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, f...

来源: Laya_示例 发布时间: 20251209

32. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 74%]

...eDimen/staticModel/grid/plane.lh")); //设置地板可以接受阴影 grid.getChildAt(0).meshRenderer.receiveShadow = true; //获取一个静态网格猴子 var staticLayaMonkey = this.scene.addChild(new Laya.MeshSprite3D(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Laya...

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

33. Unity导出的特效,怎么缓存让第一次加载的时候不卡呢 [ 74%]

...his, function(){                         var particle = effect.getChildAt(0).getChildAt(0).particleSystem;                         particle.on(Laya.Event.COMPLETE, this, function(){                             actor.mView.root.removeChild(effect);          ...

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

34. 加载到舞台的3D模型不显示贴图 [ 73%]

....Event.HIERARCHY_LOADED, null, function (sprite) { var meshSprite = sprite.getChildAt(0);//此对象不一定是MeshSprite3D类型,会导致出错 var mesh = meshSprite.meshFilter.sharedMesh; mesh.once(Laya.Event.LOADED, null, function (mesh) { for (var i = 0; i < meshSprite.meshRender.sharedMa...

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

35. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 73%]

...Model/grid/plane.lh")) as Sprite3D; //设置地板可以接受阴影 (grid.getChildAt(0) as MeshSprite3D).meshRenderer.receiveShadow = true; //获取一个静态网格猴子 var staticLayaMonkey:MeshSprite3D = scene.addChild(new MeshSprite3D(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/Assets/...

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

36. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 73%]

.../grid/plane.lh")) as Laya.Sprite3D; //设置地板可以接受阴影 (grid.getChildAt(0) as Laya.MeshSprite3D).meshRenderer.receiveShadow = true; //获取一个静态网格猴子 var staticLayaMonkey = this.scene.addChild(new Laya.MeshSprite3D(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/...

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

37. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 72%]

... i < node.numChildren; i++) {                 let sprite = node.getChildAt(i) as Laya.Sprite;                 if (sprite) {                     //if (sprite instanceof Laya.Text) {                     //    if (set) {                     //      ...

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

38. [LayaAir3]list.selectHandler [ 72%]

...引:" + index);         let checkBoxItem:Laya.CheckBox = this._list.getChildAt(index).getChildAt(0) as Laya.CheckBox;         if(checkBoxItem!=null){                         switch(checkBoxItem.name.trim()){                 case "0":{                        ...

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

39. untiy导出的粒子特效有播放完成的回掉吗? [ 71%]

...RCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE, this, function() { trace("COMPLETE callback!!"); }); }); 2017-05-15 0 1 分享 微博 QZONE 微信 158*****196 赞同来自: 2.0是不是ShurikenParticleS...

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

40. 灯光-方向光 [ 71%]

...a.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFro...

来源: Laya_示例 发布时间: 20251209