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

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

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

...按钮切换注视目标。 ```typescript //up向量 this._up = new Laya.Vector3(0, 1, 0); ``` ```typescript //点击事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.tra...

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

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

...钮切换注视目标。 ```typescript //up向量 private _up = new Laya.Vector3(0, 1, 0); ``` ```typescript //点击事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.tra...

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

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

...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...

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

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

...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...

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

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

...旋转。 ```typescript //移动摄像机 camera.transform.translate(new Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧拉角...

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