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

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

61. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 78%]

...r camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera....

来源: Laya_社区 发布时间: 20191206

62. 摄像机设置旋转的问题 [ 78%]

...置这个节点的旋转,如果我使用Laya.Quaternion.cloneTo(camera.transform.localRotation),会失败,如果使用camera.transform.localPosition = Laya.Quaternion.clone(),才会成功,之前我记得你们不是说过尽量避免创建对象吗?直接用cloneTo,摄像机的旋转四...

来源: Laya_社区 发布时间: 20170628

63. 如何使用3D场景2D人物进行混合开发(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 78%]

... = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._position, this._camera.projectionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos...

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

64. 如何使用3D场景2D人物进行混合开发(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 78%]

... = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._position, this._camera.projectionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos...

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

65. 如何使用3D场景2D人物进行混合开发(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 78%]

... = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._position, this._camera.projectionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos...

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

66. laya2.7.3 Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 78%]

... let camera = new Laya.Camera(0, 0.1, 100); scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);  let directionLight = new Laya.DirectionLight(); scene.addChild(directionLight); let mat = directionLight.tra...

来源: Laya_社区 发布时间: 20200915

67. 怎么设置3D相机,模型的绝对值 [ 78%]

怎么设置3D相机,模型的绝对值 this.camera.transform.position = new Laya.Vector3(0, 10, 40); this.camera.transform.translate(new Laya.Vector3(0, 10, 40)); this.camera.transform.rotate(new Laya.Vector3(0, 10, 0), true, false); 做一个按钮,专门切换到90度的视图上,怎么设置相...

来源: Laya_社区 发布时间: 20180411

68. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 78%]

...; var camera = this.scene.addChild(new Laya.Camera(0, 0.01, 1000)); camera.transform.translate(new Laya.Vector3(0, consts.CAMERA_HEI, 0)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), true, false); camera.orthographic = true; camera.orthographicVerticalSize = 15; this.mainCamera = camera; //...

来源: Laya_社区 发布时间: 20180126

69. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 77%]

...addChild(new Laya.Camera(0, 0.1, 100))) as Laya.Camera;         camera.transform.translate(new Laya.Vector3(0, 0, 6));         camera.clearColor = null;         //材质         var material = new Laya.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("Ass...

来源: Laya_社区 发布时间: 20180119

70. Laya截图3D场景相关模型,导致模型透视! [ 77%]

...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.position = new Laya.Vector3(0, 0, 10); camera.transform.rotate(new Laya.Vector3(0, 180, 0), true, false); camera.orthographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); th...

来源: Laya_社区 发布时间: 20180503