大约有 458 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(205) Laya3.0_api(106) Laya2.0_api(66) laya_api(63) Laya2.0_文档(10) Laya3.0_文档(6) Laya2.0_示例(1) Laya_示例(1)
...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
关于导出粒子特效问题 导出的时候报错了 Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataMana...
来源: Laya_社区 发布时间: 20180321
请问Texture2D如何用base64字符串构建对象 给模型贴图的时候需要用base64位字符串。官方api中Texture2D的load方法的参数说明为 : Texture2D地址 。这个地址好像只能传入图片的绝对路径,如何使用base64加载呢? 附件 : --> 2018-05-18 添...
来源: Laya_社区 发布时间: 20180518
...animation,loadAtlas后,AtlasResource的_referenceCount是0,对应的Texture2D的_referenceCount是AtlasResource中使用的次数,当animation执行destyoy后,AtlasResource和Texture2D的_referenceCount没有变化,再次创建后AtlasResource的_referenceCount依旧是0,对应的Textu...
来源: Laya_社区 发布时间: 20231212
...ge(); imgBig.skin="big.jpg"; let imgCut:Laya.Image=new Laya.Image(); let texture:Laya.Texture=Laya.Texture.create(imgBig,0,0,100,100); imgCut.texture=texture; Laya.stage.addChild(imgCut); 2019-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20190427
...CHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded event fetch getRes hasLi...
来源: Laya3.0_api 发布时间: 20231115
...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
layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...
来源: Laya_社区 发布时间: 20190109
layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...
来源: Laya_社区 发布时间: 20190109
...ton=new Skeleton(); var templet:Templet = new Templet(); templet.parseData(texture, arrbuffer, 20); sk.init(templet); 然后报错 Cannot read property 'enableMerageInAtlas' of null RunDriver.addTextureToAtlas __proto.addTextureToAtlas __proto.runWith __proto.event __proto.completeCreate __prot...
来源: Laya_社区 发布时间: 20170222