大约有 378 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
Laya_社区(103) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya2.0_文档(34) Laya_示例(12) Laya3.0_文档(8) Laya2.0_示例(1)
...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeC...
来源: Laya3.0_api 发布时间: 20231115
...ew Laya.Vector3(-20, 13, 0)); //获取动画组件 pangziAnimator = pangzi.getChildAt(0).getComponent(Laya.Animator); //AnimationClip的加载要放在Avatar加载完成之后 Laya.AnimationClip.load("res/threeDimen/skinModel/BoneLinkScene/Assets/Model3D/PangZi-Take 001.lani", Laya.Handler.create(nu...
来源: Laya2.0_文档 发布时间: 20210715
...aya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); this.loadUI(); })); 附件 : --> Test.rar 2019-0...
来源: Laya_社区 发布时间: 20190507
...ya.Sprite3D = new Laya.Sprite3D(); a.addChild(guns_test.getChildAt(0).clone()); a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2; a.transform.scale = new Laya.Vector3(10,10,10) a.transform.rotate(n...
来源: Laya_社区 发布时间: 20200107
...ew Laya.Vector3(-20, 13, 0)); //获取动画组件 pangziAnimator = pangzi.getChildAt(0).getComponent(Laya.Animator); //AnimationClip的加载要放在Avatar加载完成之后 Laya.AnimationClip.load("res/threeDimen/skinModel/BoneLinkScene/Assets/Model3D/PangZi-Take 001.lani", Laya.Handler.create(nu...
来源: Laya2.0_文档 发布时间: 20210715
...or3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加盒型碰撞器 var boxCollider:BoxCollider = warehouseMeshSprite3D1.addComponent(BoxCollider) as BoxCollider; boxCollider.setFromBoundBox(warehouseMeshSprite3D1....
来源: Laya_社区 发布时间: 20171220
...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeC...
来源: Laya3.0_api 发布时间: 20231115
...的?代码层面调整是否有效? 我的修改方式: (this.trail.getChildAt(0) as Laya.TrailSprite3D).trailFilter.alignment = 1; 希望官方能解答一下。 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20181219
...et index = 0; let child: Laya.Sprite3D = null; while (true) { child = root.getChildAt(index) as Laya.Sprite3D; if (!child) break; if (child.name == nodeName) { child.addChild(Sprite3D); Sprite3D.transform.localPosition = new Laya.Vector3(); return true; } else { if (this.link2Node(nodeName, child, S...
来源: Laya_社区 发布时间: 20190918
...这都需要从加载的模型中去获取子对象,我们可以通过 **getChildAt()、getChildByName()** 方法去获取子对象,这与2D引擎获取子对象方法一样。 下面我们来加载一个场景的.ls文件,然后获取它的子对象。在获取子对象之前,建议打开.l...
来源: Laya2.0_文档 发布时间: 20210714