大约有 378 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
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
...访问私有成员。 示例如下: let animator: Animator = this.owner.getChildAt(0).getComponentByType(Animator) as Animator; let clipNames: string[] = animator["_clipNames"]; 来个点赞吧!!!鄙视官方的不作为! 2018-04-26 3 2 分享 微博 QZONE 微信 w1114367261 赞同来自: ...
来源: Laya_社区 发布时间: 20180425
...uu 赞同来自: 我将地面 var mat: Laya.StandardMaterial = (this.floor.getChildAt(0) as Sprite3D).meshRender.material as Laya.StandardMaterial; mat.ambientColor = new Vector3(0.5,0.5,0.5); 这样确实阴影变淡了,可地面也变色了。。。怎么办?我只要阴影变淡,不想其...
来源: Laya_社区 发布时间: 20180320
..._LOADED, this, function():void{ var meshSprite:Sprite3D=layaScene.getChildAt(0) as Sprite3D; var animator:Animator = meshSprite.addComponent(Animator) as Animator; var clip:AnimationClip=AnimationClip.load("res/LayaScene/Assets/unit/Unit_1111-A101.lsani"); animato...
来源: Laya_社区 发布时间: 20180208
...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
...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 removeAllLayers removeChild remov...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...nnedMeshRenderer直接点出属性isRender.完事 let mesh = this.owner.getChildAt(1) as Laya.SkinnedMeshSprite3D; console.log(mesh.skinnedMeshRenderer.isRender); 这是我测试时的模型和代码,实际使用根据模型的导出的层级和类型而定。附:我使用的是2.6.1版本...
来源: Laya_社区 发布时间: 20181009
...rm.localScale = new Laya.Vector3(5, 5, 5); var animator = (this.layaMonkey.getChildAt(0)).getComponentByType(Laya.Animator); var totalAnimationClip = animator.getClip("Take_001"); animator.addClip(totalAnimationClip, "walk", 40, 70); animator.play("walk", 2.5); //初始化相机 var moveCamera = thi...
来源: Laya_示例 发布时间: 20251209