大约有 333 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya_社区(175) Laya2.0_文档(60) Laya3.0_api(24) Laya_示例(21) Laya2.0_api(20) laya_api(19) Laya3.0_文档(14)
...= scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new...
来源: Laya_社区 发布时间: 20180820
....y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.inp...
来源: Laya2.0_文档 发布时间: 20210715
....y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.inp...
来源: Laya2.0_文档 发布时间: 20210715
...相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminnan.lm", "../../r...
来源: Laya_示例 发布时间: 20241001
...en.to()? 我看过官方示例,不是旋转 Laya.Tween.to(this.camera.transform.localRotationEuler, { x: _vector3.x, y: _vector3.y, z: _vector3.z + (20 * Math.PI / 180) }, 500); 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170824
...addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 30)); //方向光 const directionLight =this.newScene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = ne...
来源: Laya_社区 发布时间: 20210103
请教一个transform, lookAt的使用问题 将一个物体 的transform lookAt(摄像机,(0,1,0) ) ,如何在lookAt之后 摄像机随便旋转 保持物体的角度始终是Y轴朝上。朝屏幕上方。现在的情况是摄像机旋转之后,物体也跟着旋转。。 附件 : --> 2019-12...
来源: Laya_社区 发布时间: 20191226
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.2)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector...
来源: Laya_示例 发布时间: 20241001
现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20170601
... camera:Camera=(scene.addChild(new Camera(0, 0.1, 100))) as Camera; camera.transform.translate(new Vector3(0, 3, 6)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); camera.clearColor=null; camera.addComponent(CameraMoveScript); CameraStat.show(camera, 200, 0); //添加方向光 var di...
来源: Laya_社区 发布时间: 20170331