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

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

1. 微信浏览器里横屏home键方向 [ 100%]

...   mat.rotate(Math.PI / 2);                     mat.translate(screenHeight / pixelRatio, 0);                     canvasDegree = 90;                 } else {                     mat.rotate(-Math.PI / 2);          ...

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

2. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 99%]

...ype":"Sprite3D",  "props":{   "name":"role"  },  "customProps":{   "translate":[    0,    0,    0   ],   "rotation":[    0,    0,    0,    -1   ],   "scale":[    1,    1,    1   ]  },  "child":[   {    "type":"Sprite3D",    "props":{     "...

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

3. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 98%]

...内容相关的链接 提交 2 个回复 183*****755 赞同来自: 那个translate是要转换为2d的坐标,正交就是没有透视关系,把所有的3d物体,投影到2d屏幕上 2017-08-07 0 2 分享 微博 QZONE 微信 sfsmmc 赞同来自: Laya3D.init(0, 0, true); Laya.stage.scaleMode = L...

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

4. rigidBody.applyForce 物体不会移动 [ 95%]

...haracter: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new L...

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

5. 获取lh动画控制失败【已解决】 [ 94%]

...   "name":"sharedunity"     },     "customProps":{         "translate":[             0,             0,             0         ],         "rotation":[             0,             0,             0,             -1  ...

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

6. pivot 设置后 影响 元素大小??????????????? [ 93%]

...7 关注: 2 人 whzooo • 2016-12-14 13:24 var tf:Matrix=new Matrix(); tf.translate(0,-_core.height); tf.rotate(ps[0]+3.141592653589793); tf.translate(0,_core.height); tf.translate(_core.p1.x,_core.p1.y-_core.height); page[1].transform=tf; 我全用transform了, 达到了想要的效果 cuixueying ...

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

7. 如何移动sprite3d [ 91%]

...将模型和相机作为pos的子对象添加进去,使用pos.transform.translate移动pos,发现并没有用 2018-01-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 内容相关的链接 提交 1 个回复 qian 赞同来自: 参数给的什么 201...

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

8. 如何动态获取image的宽高? [ 90%]

...hisp)); //trace(thisp.x,thisp.y,"dddddddd") var tf:Matrix=new Matrix(); tf.translate(-thisp.x,-thisp.y); __jd+=jd; tf.rotate(__jd); tf.translate(thisp.x,thisp.y); var otf:Matrix=new Matrix();//photoimg.transform?photoimg.transform:new Matrix(); //trace("jjjj1",photoimg.x,photoimg.y,photoimg.width,ph...

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

9. 请教玩一玩横屏问题 [ 89%]

...   mat.rotate(Math.PI / 2);                     mat.translate(screenHeight / pixelRatio, 0);                     canvasDegree = 90;                 } else {                     mat.rotate(-Math.PI / 2);          ...

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

10. unity导出的场景不显示实时阴影 [ 88%]

...ials/Dana.lmat'); plane.meshRenderer.receiveShadow = true; plane.transform.translate(new Laya.Vector3(0, 0.1, 0), false);  let test: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.loader.getRes('sences/Assets/Scenes/TestPro/Models/215_qijiashe-215_qijiashe.lm'))) as Laya.MeshSprite3D...

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