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

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

91. Scene Pivot 疑问 [ 76%]

Scene Pivot 疑问 请问手动修改scene 的中心点 后 为什么 scene的(x=0,y=0)的子物体的位置还是位于 scene 的左上角(0,0),处 而不是scene的 (pivotx,pivoty)处 谢谢 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

92. 微信小游戏报错 the .lh file root type must be Scene [ 76%]

微信小游戏报错 the .lh file root type must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.s...

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

93. Laya3D场景加载问题 [ 76%]

...D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.loader.create(this.resource, Laya.Handler.c...

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

94. animator.owner._scene报空 [ 76%]

animator.owner._scene报空 在laya.d3.js文件中,animator.update函数中,animator.owner._scene报空,导致(animator.owner._scene).timer报错,请问这是什么原因呢?项目有点大暂时提供不了demo。 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

95. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 75%]

...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...

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

96. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 75%]

...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...

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

97. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 75%]

...小游戏中加载unity导出的场景报错the .lh file root type must be Scene 报错:the .lh file root type must be Scene。 看了下代码,是读取的.ls文件并不是按照数组方式读取的,而是安装字符串读取进来的,所以导致判断type失败:       /**    ...

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

98. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 75%]

...资源加载 #### 1. 场景加载 单个场景加载的时候,使用的Scene3D.load方法。 ```js //3d场景加载 Laya.Scene3D.load("res/TerrainScene/XunLongShi.ls",Laya.Handler.create(this,function(scene) { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var came...

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

99. 关于手动创建scene的问题 [ 75%]

关于手动创建scene的问题 现在手动创建一个scene有bug,尝试讲HierarchyParser的192行改成node = options.root就可以,官方看下问题出在哪里吧 附件 : --> Bug.zip 2023-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

100. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 75%]

...资源加载 #### 1. 场景加载 单个场景加载的时候,使用的Scene3D.load方法。 ```typescript //3d场景加载 Laya.Scene3D.load("res/TerrainScene/XunLongShi.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 v...

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