大约有 467 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
Laya_社区(260) Laya3.0_api(94) Laya2.0_文档(62) Laya_示例(23) Laya3.0_文档(10) Laya2.0_api(10) laya_api(7) Laya2.0_示例(1)
...的时候报错:MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. unity版本是:2017.3.1f1 LayaAir3D工具版本是:1.7.16 beta 只是导出场景跟模型 附上导出参数设置以及报错详细信息,求解答 附件 : --> 2018-03-03 添加评论 免费...
来源: Laya_社区 发布时间: 20180303
texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式 2020-01-07 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20200107
...与内容相关的链接 提交 1 个回复 淡淡的疯 赞同来自: var texture2D = new Laya.Texture2D(); texture2D.loadImageSource(sharedCanvas, true); var texture = new Laya.Texture(texture2D); //texture.bitmap.alwaysChange = true; rankList.graphics.drawTexture(texture, 0, 0, sharedCanvas.wi...
来源: Laya_社区 发布时间: 20181001
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...
来源: Laya3.0_api 发布时间: 20231115
...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
...FG Methods DefaultDfgTexture Accessors Static defaultDFG get defaultDFG(): Texture2D set defaultDFG(value: Texture2D): void Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:13 Returns Texture2D Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:16 Parameters value: Texture2D Returns void Methods Static De...
来源: Laya3.0_api 发布时间: 20231102
...aterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture3=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture4=new Laya.Texture2D.load("map2.png"); te...
来源: Laya_社区 发布时间: 20170620
...text":No function was found that matched the signature provided 在this.texture2D.loadImageSource(this.cav);报错 this.cav = Laya.Browser.createElement("canvas"); this.cav.width = 256; this.cav.height = 256; var cxt = this.cav.getContext("2d"); cxt.fillStyle = 'rgb(' + '220' + ',' + '5' + '...
来源: Laya_社区 发布时间: 20200714
...HTMLImageElement Laya.loader.fetch( url,"image" ).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture = new Texture(t2d); let sp2:Sprite = ne...
来源: Laya3.0_文档 发布时间: 20230303
... let h: number = gl.drawingBufferHeight; let texture2d: Laya.Texture2D = new Laya.Texture2D(w,h,Laya.TextureFormat.R8G8B8A8,false,false); texture2d.setPixels(pixels); let tex: Laya.Texture = new Laya.Texture(texture2d); ...
来源: Laya_社区 发布时间: 20200815