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

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

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

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

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

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

...转。 ```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

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

...转。 ```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. 物理系统之ConfigurableConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 95%]

...-------------- | ---------------------------------------- | | setAxis(axis:Vector3,secondaryAxis:Vector3) | Axis和Secondary Axis | 设置对象自然旋转的局部轴主轴 | | XMotion | XMotion | 设置x轴线性轴上运动的模式 | | YMotion | YMotion | 设置y轴线性轴上运动的模式 |...

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

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

...scene.addChild(new Laya.DirectionLight()); 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. 材质加载 在单个材质进行加载的时候,我们...

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

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

...scene.addChild(new Laya.DirectionLight()); 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. 材质加载 在单个材质进行加载的时候,我们...

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

7. 物理系统之ConfigurableConstraint(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 95%]

...-------------- | ---------------------------------------- | | setAxis(axis:Vector3,secondaryAxis:Vector3) | Axis和Secondary Axis | 设置对象自然旋转的局部轴主轴 | | XMotion | XMotion | 设置x轴线性轴上运动的模式 | | YMotion | YMotion | 设置y轴线性轴上运动的模式 |...

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

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

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

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

9. 物理系统之ConfigurableConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 94%]

...刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshR...

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

10. 运动刚体(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 92%]

... KeyBoardManager.hasKeyDown(87) && kinematicSphere.transform.translate(new Vector3(0, 0, -0.2));//W KeyBoardManager.hasKeyDown(83) && kinematicSphere.transform.translate(new Vector3(0, 0, 0.2));//S KeyBoardManager.hasKeyDown(65) && kinematicSphere.transform.translate(new Vector3(-0.2, 0, 0));//A Key...

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