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

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

191. 导入微信小游戏的时候 [ 85%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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

192. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 85%]

...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sprite3D&name=TransformDemo))代码,首先我们 **克隆** 两个猴子(克隆的知识点会在精灵Sprite3D的章节详细讲解),来看下效果,并且在克隆后为了方便观察我们2个猴子的位置。...

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

193. 资源导出后LAYA跟unity,transform效果不一致 [ 84%]

...on   2018-08-02 0 5 分享 微博 QZONE 微信  赞同来自: 不经过Sprite3D.instantiate,直接addchild,this.scene2.addChild(Laya.loader.getRes("res/test.lh")),就没问题 @Laya_Aaron 2018-08-02 0 4 分享 微博 QZONE 微信 家民 赞同来自: 这个问题一直都还存在吗??? ...

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

194. 引擎基础概念 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

...中的所有对象的基类,2D的基础精灵Sprite与3D的基础精灵Sprite3D都继承于Node,不仅于此,所有继承于Node的子类或孙类,也可称为节点,例如:Sprite节点,Image节点。 只有继承于Node的子类或孙类的节点对象,才可以添加子节点对象...

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

195. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 84%]

...ne3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTe...

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

196. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 84%]

...nable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.c...

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

197. 把摄像机添加到一个物体上,然后绕着这个物体旋转 [ 84%]

...好摄像机的默认位置角度使其朝向物体就行了 var map: Laya.Sprite3D = Laya.loader.getRes("cj/cj.lh"); this.scene.addChild(map); var cjd0: Laya.Sprite3D = new Laya.Sprite3D(); cjd0.addChild(this.camera); map.addChild(cjd0); cjd0.addComponent(CameraMoveScript); 可是,这样添加的...

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

198. laya.d3.core.Camera [ 83%]

...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Nod...

来源: Laya2.0_api 发布时间: 20190513

199. TypeError: Cannot read property '_addRenderObject' of undefined [ 83%]

... Cannot read property '_addRenderObject' of undefined preload.js:55 at MeshSprite3D._onActive (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5617:17)   at MeshSprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12325:18)   at Sprite3D._activeHierarchy (file:/...

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

200. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 83%]

...E中使用 2.1 添加组件 在LayaAir-IDE的层级面板中,添加一个Sprite3D节点,如图2-1所示, (图2-1) 然后在节点的属性上增加一个3D UI组件,如动图2-2所示,在属性面板中,点击添加组件,选择渲染->3D UI组件。 (动图2-2) 2.2 属性...

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