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

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

31. Laya3D场景加载问题 [ 73%]

...Index(scene, 0);         //获取相机         var camera = scene.getChildByName("Main Camera");         console.log("test====================:" + Laya.version)     } }   问题一:          小米note3:正常          华为p30:报错             问题二:    ...

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

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

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

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

33. laya.d3.webxr.core.WebXRCamera_API3.0 [ 72%]

...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...

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

34. laya.d3.core.Camera_API3.0 [ 72%]

...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...

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

35. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 71%]

...{ var str: string = "path" + i; this.path.push(((<MeshSprite3D>scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str))).transform.localPosition); } } 四、角色移动 角色移动,实际上就是在间隔很短的时间内,改变角色的位置。在我们的示例中...

来源: Laya3.0_文档 发布时间: 20230303

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

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

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

37. 关于3d的碰撞检测 [ 70%]

...结果一直是-1 相关代码:const field: Laya.MeshSprite3D = this.scene.getChildByName("stadium").getChildByName("field") as Laya.MeshSprite3D;//拿到地板 const sprite3d1MeshCollider: Laya.MeshCollider = field.addComponent(Laya.MeshCollider) as Laya.MeshCollider; sprite3d1MeshCollider.mesh = f...

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

38. unity中的模型导出后在laya中显示不正常 [ 68%]

...vent.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加相机和灯光,这个怎么不用加灯光和相机都能显示出来呢...

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

39. timer无法执行 [ 64%]

... dialog 自定义关闭效果,效果执行完,弹窗无法关闭 使用getChildByName()无法得到子节点对象 Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 发布到vivo平台后,龙骨动画无法显示 关于发布oppo、vivo快游戏,无法生成Rpk问题 点击...

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

40. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 60%]

...染吗? Image元件读不了资料流 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-07-17 09:46 浏览: 2550 关注: 2 人 星夜 • 2019-07-17 13:55 1.并非概念不清楚, 同在世界坐标系下的第一层级子节点, 世...

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