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

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

61. laya.d3.resource.DataTexture2D [ 84%]

...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

62. DataTexture2D是做什么用的 [ 83%]

DataTexture2D是做什么用的 我用base64的数据用 var _texture2d:DataTexture2D = new DataTexture2D();  _texture2d.onAsynLoaded(null, image); material.diffuseTexture=_texture2d; 没报错,但是贴上去是纯灰色,不是图片 DataTexture2D怎么用? 2018-06-05 添加评论 免费帖...

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

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

...a.BlinnPhongMaterial;         //添加漫反射贴图         Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) {             this.mat1.albedoTexture = tex;         }));         Laya.Texture2D.load("res/threeDimen/Physics/plywood.j...

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

64. Laya3D [ 82%]

...Laya3D  TERRAINRES : String = TERRAIN[static] Terrain资源。Laya3D  TEXTURE2D : String = TEXTURE2D[static] Texture2D资源。Laya3D  TEXTURECUBE : String = TEXTURECUBE[static] TextureCube资源。Laya3DProperty DetailenbalePhysicspropertyenbalePhysics:*  [read-only] 获取是否可以启...

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

65. 天空-天空穹 [ 82%]

...skyDome = new Laya.SkyDome(); camera.sky = skyDome; skyDome.texture = Laya.Texture2D.load("../../res/threeDimen/env/sp_default/env.png");class SkyDomeSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.S...

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

66. PBRStandardMaterial材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 82%]

...tandardMaterialDemo))。 ```typescript setTexture(){ //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function (texture) { this.mat.albedoTexture = texture; })); //法线贴图 L...

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

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

...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

68. worker.js 使用问题 [ 82%]

...text': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Texture2D.__proto.activeResource (laya.core.js:13234)     at Texture2D.<anonymous> (laya...

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

69. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 82%]

...:PBRStandardMaterial = new Laya.PBRStandardMaterial(); //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function(texture) { mat.albedoTexture = texture; })); //法线贴图 Laya.Te...

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

70. 关于导出粒子特效问题 [ 82%]

...粒子特效问题 导出的时候报错了 Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataManager:saveLmatF...

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