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

大约有 189 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)

81. 材质动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 65%]

...cene:Scene3D):void { Laya.stage.addChild(scene); var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```

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

82. laya.display.Node_API3.0 [ 65%]

...imer 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 removeChildByName ...

来源: Laya3.0_api 发布时间: 20231115

83. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 65%]

...ate(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); })); ```

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

84. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 65%]

...ate(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```

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

85. 【加急】控制Unity3D导出的粒子 [ 65%]

...取了粒子作为Sprite3D,这个可以获取到this.bow = this.scene3D.getChildByName("Bow") as Laya.Sprite3D; 然后我拿不到他的粒子系统,var par: Laya.ShurikenParticleSystem= this.bow.getComponent(Laya.ShurikenParticleSystem);结果是空的,求教一下! 2018-12-18 添加评论 ...

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

86. 父元素,子元素,兄弟元素 [ 64%]

...你的问题,可以直接通过var就可以获取,name还需要通过getChildByName获取。

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

87. TypeError: Cannot read property 'length' of null [ 64%]

...建对象没问题,第二次怎么就是获取对象了。。。获取用getchildbyname 这种方式 2020-03-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Ame 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read ...

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

88. laya2.0版本支持MeshColliderShape吗 [ 64%]

...olliderShape是可以用吗,我这样添加之后报错 let sp3d = scene.getChildByName("GameObject").getChildByName("dimian_5"); let rigidBody = sp3d.addComponent(Laya.Rigidbody3D) let shape = new Laya.MeshColliderShape() shape.mesh = sp3d.meshFilter.sharedMesh; rigidBody.colliderShape = shape; ...

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

89. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 63%]

...lone 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 removeChildByName ...

来源: Laya3.0_api 发布时间: 20231102

90. layaAir2.3克隆以及获取节点重大bug!!! [ 63%]

...擎bug 百分百 复现 1.7.20beta有bug,帧属性面板打不开 使用getChildByName()无法得到子节点对象 tree mouseHandler 怎么获取条目 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2020-01-08 21:34 浏览: 1795 关注: 3 人 Laya_Aaron ...

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