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

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

1. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 100%]

...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...

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

2. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 99%]

...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...

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

3. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 99%]

...irectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在...

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

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

# 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

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

# 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

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

# 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

7. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 82%]

...phere(0.5))); //将创建的球放置在导出球的同一点 this.sphere2.transform.position = this.sphere.transform.position; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshR...

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

8. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 81%]

...) as MeshSprite3D; //将创建的球放置在导出球的同一点 sphere2.transform.position = sphere.transform.position; //将创建的球平移 sphere2.transform.translate(new Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 sphere2.meshRenderer.material = b...

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

9. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 81%]

...MeshSprite3D; //将创建的球放置在导出球的同一点 this.sphere2.transform.position = this.sphere.transform.position; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshR...

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

10. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 78%]

...//调整胖子的相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从...

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