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

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

11. 关于平行光渲染投影问题,求解惑 [ 74%]

....Camera(0, 0.1, 1000))) as Laya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as La...

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

12. 摄像机视野、摄像机范围、摄像范围问题 [ 73%]

...围90度 camera.fieldOfView = 90;   //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.position,new Laya.Vector3(0,-1,0)); 2017-08-09 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 好的,多多分享,这样也可以让更多的开发者受教(*^__^*) …… 2017-08-09...

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

13. 加载.lh文件 运行后黑屏 无法显示 [ 73%]

...his.scene.ambientColor = new Laya.Vector3(1, 1, 1);         camera.transform.translate(new Laya.Vector3(0,0.8,1.5));         camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false);     //  var camera:Laya.Camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)) as...

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

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

# LayaAir3D中的Transform变换 ​ 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...

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

15. position -position应该怎么写?? [ 70%]

...Loop() { cameraPos = camera.position; viewDir = camera.position - lineMesh.transform.position; console.log(viewDir); lineMesh.transform.lookAt(new Laya.Vector3(3, 3, 3), viewDir, true); } 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

16. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 70%]

# LayaAir3D中的Transform变换 ​ 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...

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

17. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 70%]

...me = "camera";         //相机平移位置         camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5));         //旋转相机         camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);                      //创建平行光 ...

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

18. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 70%]

# LayaAir3D中的Transform变换 ​ 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...

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

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

...Sprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D...

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

20. 高级应用-寻路导航 [ 69%]

...rrainSprite世界矩阵(为可行走区域世界矩阵) this.terrainSprite.transform.worldMatrix = meshSprite3D.transform.worldMatrix; //给terrainSprite添加PathFind组件 var pathFingding = this.terrainSprite.addComponent(Laya.PathFind); pathFingding.setting = { allowDiagonal: true, dontCrossCorn...

来源: Laya_示例 发布时间: 20240930