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

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

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

...(null, 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; ea...

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

62. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 71%]

...同处于3d场景下的两个节点) //添加自定义模型 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Lay...

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

63. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 71%]

...     //平面加载         let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10)));         let planeMat = new Laya.BlinnPhongMaterial();         Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(null, function (...

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

64. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 71%]

...影质量 light.shadowResolution=2048; //创建盒子模型 var box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1.5,1.5,1.5))) as Laya.MeshSprite3D; //自身y座标旋转 box.transform.rotate(new Laya.Vector3(0,45,0),true,false); //接受阴影 box.meshRender.receiveSha...

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

65. 怎么给从模型生成的地形TerrainMaterial材质??? [ 70%]

...还在审核中,现在只支持unity中的地形导出使用。 总之,MeshSprite3D暂时不能使用TerrainMaterial 2017-06-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ebaww 相关问题 加载到舞台的3D模型不显示贴...

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

66. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 69%]

...andler.create(null, function(mesh:Mesh):void { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardM...

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

67. 怎么设置模型高度 [ 69%]

...义模型 var boxmesh=new Laya.BoxMesh(0.6, 0.6, 0.6); var box = new Laya.MeshSprite3D(boxmesh); scene.addChild(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture...

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

68. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 69%]

...示例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` !...

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

69. 3D网格添加刚体后设置欧拉角出现位置错误 [ 69%]

...     //平面加载         let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10)));         plane.transform.position = new Laya.Vector3(0, -2, 0);         let planeMat = new Laya.BlinnPhongMaterial();         Laya.Texture2D.load("res/...

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

70. BlurFilter的strength属性设置到5以上就没效果了 [ 68%]

...置flat shading么 Tween没效果,对于渐变相机位移? lh文件内meshSprite添加阴影属性无效 关于同为object层,层级设置无效的问题 1.7.20beta有bug,帧属性面板打不开 问题状态 最新活动: 2017-08-25 16:42 浏览: 833 关注: 2 人 babby_bei • 2017-08-25...

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