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

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

221. 导出的3D资源加载报错 [ 59%]

...; //加载到场景 scene.addChild(camera); //旋转摄像机角度 camera.transform.rotate(new Vector3( -25, 0, 0), false, false); //移动摄像机位置 camera.transform.position=new Vector3(0, 5, 10); //加入摄像机移动控制脚本 //camera.addComponent(CameraMoveScript); //添加蒙皮动...

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

222. 摄像机旋转问题 [ 59%]

...mer.frameLoop(1, this, function():void{                 camare.transform.rotate(_rotateC);             });         } 这个并不是绕物体旋转的 2017-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

223. js中使用sharedMesh报错 [ 59%]

...ite3D.load("model/warehouse/1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); war...

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

224. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 59%]

...a = (scene.addChild(new Laya.Camera(0, 0.1, 1000))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); })); } } 2019-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

225. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 59%]

...nction(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya.Handler.create(null, functio...

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

226. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 59%]

...ction(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMat.enab...

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

227. 可以让一个Sprite做rotationX旋转吗? [ 58%]

...让一个Sprite做rotationX旋转吗? 类似Flash里的Matrix3D类 给mc.transform.matrix3D设置的那种 或者类似Flash里的 rect1.rotationX = 15; 这种设置 可以轻松让Sprite做一个绕X轴的旋转? 2016-12-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

228. as中BoxCollider引入了,但是运行的时候还是提示null [ 58%]

...ild(Sprite3D.load("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSp...

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

229. laya.maths.Vector3_API3.0 [ 58%]

...red normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 transformV3ToV4 Constructors cons...

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

230. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 58%]

... { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardMaterial(); //开启该材质的反射 pbrMat...

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