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

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

601. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 42%]

...l/Effect_zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();          ...

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

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

...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.mesh...

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

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

...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1...

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

604. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 38%]

...的距离进行旋转                 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false);             }         }         else if (2 === touchCount){             this._text.text = "...

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

605. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...属GLSL文件(高阶操作不推荐直接使用) u_WorldMat 世界矩阵 Sprite3DCommon.glsl u_ProjectionParams(near, far, invert, 1 / far) 投影参数 Camera.glsl u_Viewport(x, y, width, height) 视口 Camera.glsl u_CameraDirection 相机方向 Camera.glsl u_CameraUp 相机上朝向 Camera.glsl u_...

来源: Laya3.0_文档 发布时间: 20251010