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

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

21. 3D开启多线程报错 [ 77%]

...text': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225)     at Texture2D.__proto.recreateResource (laya.d3.js:37271)     at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329)     at ResInfo.onLoaded (laya.core.js:13189)...

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

22. laya.d3.core.MeshTerrainSprite3D [ 77%]

...。 MeshTerrainSprite3D  createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:Boolean = ...

来源: Laya2.0_api 发布时间: 20190513

23. 3D开启多线程报错 [ 77%]

...text': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225)     at Texture2D.__proto.recreateResource (laya.d3.js:37271)     at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329)     at ResInfo.onLoaded (laya.core.js:13189)...

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

24. 同一类型光源互斥的问题报告 [ 77%]

...lbedo = new Laya.Vector4(0.8, 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3(0, 0, 0); var...

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

25. material材质平铺 [ 77%]

material材质平铺 建了一个3D的平面模型,用的是Laya.Texture2D.load加载的图片纹理, 然后给它加了一个var material = new Laya.StandardMaterial();材质 material 创建的贴图材质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.P...

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

26. Sprite3D-Sprite3D加载 [ 77%]

...laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.util...

来源: Laya_示例 发布时间: 20240929

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

... material:BlinnPhongMaterial = new BlinnPhongMaterial(); //漫反射贴图 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置材质纹理 material.albedoTexture = texture; })); //material.albedoTexture earth2.meshRenderer.material = ma...

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

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

...ideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.wid...

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

29. 对象池3D问题 [ 74%]

...tutu=tietu.skinnedMeshRender.sharedMaterial; tietutu.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg") var zombieAnimator = layaMonkey.getChildByName("denglongyu").getComponentByType(Laya.Animator) }))   这个是直接创建一个对象。然后别的地方再克隆、我想...

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

30. 有关Laya3D碰撞检测疑问 [ 74%]

...dardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider) as Laya.BoxCollide...

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