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

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

1. 摄像机捕捉目标(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 100%]

...void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.position, _up); } else if (index % 3 === 2){ //摄像机捕捉模型目标 camera.transform.lookAt(cylinder.transform.position, _up); } else{ //摄像机捕捉模型目标 camera.transform.lookA...

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

2. 摄像机捕捉目标(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 99%]

...x++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.cylinder.transform.position, this._up); } else{ //摄像机捕捉模...

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

3. 摄像机捕捉目标(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 99%]

...x++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.cylinder.transform.position, this._up); } else{ //摄像机捕捉模...

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

4. 摄像机lookAt如何围绕一个模型做Tween动画? [ 94%]

... var y = 1; Laya.timer.frameLoop(30, this, function () { y = y + 1; camera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一个模型旋转做动画,用Tween没有起到作...

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

5. 3D的camera是否有像three.js一样的lookAt ? [ 93%]

...内容相关的链接 提交 1 个回复 183*****755 赞同来自: camera.transform.lookAt(target, up, isLocal) 2017-08-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 dinghn 相关问题 请问有没有方法能够获取“鼠标是...

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

6. 同一类型光源互斥的问题报告 [ 85%]

...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(3, 8, 10)); camera.transform.lookAt(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 1, 0)); camera.clearColor = new Laya.Vector3(0.3, 0.3, 0.5); camera.addComponent(CameraMoveScript); //创...

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

7. 射线检测-点击行走 [ 83%]

...相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionL...

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

8. 正交摄像机裁剪问题 [ 83%]

...响。 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clear...

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

9. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 81%]

... { this.camera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆...

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

10. unity中的模型导出后在laya中显示不正常 [ 75%]

...(sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加相机和灯光,这个怎么不用加灯光和相机都能显示出来呢? 答:1)这个和第一个问题...

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