大约有 25 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0027 秒)
# 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
# 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
# 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
...irectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在...
来源: Laya2.0_文档 发布时间: 20210715
...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...
来源: Laya2.0_文档 发布时间: 20210715
...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...
来源: Laya2.0_文档 发布时间: 20210715
....timer.frameLoop(1,this,function():void{ //使用差速来体现移动 box.transform.translate(new Vector3(0,0.05,0),false); camera.transform.translate(new Vector3(0,04,0),false); }); })); ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
... Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移动 box.transform.translate(new Laya.Vector3(0,0.05,0),false); camera.transform.translate(new Laya.Vector3(0,04,0),false); }); })); ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
... Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移动 box.transform.translate(new Laya.Vector3(0,0.05,0),false); camera.transform.translate(new Laya.Vector3(0,04,0),false); }); })); ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...继承于Sprite3D,一样可以对它进行3D变换的操作,通过它transform属性在3D场景中移动旋转变化,多角度取景,使观众或游戏者获得更真实的空间体验。 移动摄像机: ```typescript //实例化一个相机,设置纵横比,0为自动匹配。0.1...
来源: Laya2.0_文档 发布时间: 20210714