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

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

51. WaterPrimaryMaterial的使用 [ 75%]

...demo吗? 我这里怎么调都是单一色块呢?   var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(10, 10))) as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPh...

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

52. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 75%]

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

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

53. rigidBody.applyForce 物体不会移动 [ 74%]

...mera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya....

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

54. spine 推荐使用方式 [ 73%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体...

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

55. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 73%]

...只能做棋牌吗?和flash比谁更强?本视频给你答疑解惑! sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask...

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

56. material材质平铺 [ 73%]

...质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(200, 50, 1, 1))); plane.transform.translate(new Laya.Vector3(0, -0.4, 0)); var material1 = new Laya.StandardMaterial(); material1.diffuseTexture = Laya.Texture2D.load("http://192.168.1.41/brick_diffu...

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

57. 3D开启多线程报错 [ 72%]

...worker.js"; Laya.WorkerLoader.enable=true;   加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh");   报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided....

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

58. 3D开启多线程报错 [ 71%]

...worker.js"; Laya.WorkerLoader.enable=true;   加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh");   报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided....

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

59. worker.js 使用问题 [ 71%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComp...

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

60. 3d导入粒子效果报错 [ 71%]

3d导入粒子效果报错 代码 var particleSprite3D = Laya.Sprite3D.load("res/partical1/sceneFXMaker.lh"); 报错 Error: LoaderManager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/...

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