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

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

71. 请问Texture2D如何用base64字符串构建对象 [ 76%]

请问Texture2D如何用base64字符串构建对象 给模型贴图的时候需要用base64位字符串。官方api中Texture2D的load方法的参数说明为 : Texture2D地址 。这个地址好像只能传入图片的绝对路径,如何使用base64加载呢?   附件 : --> 2018-05-18 添...

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

72. [LayaAir3]laya3.0.9,使用Animation播放序列帧动画,引用计数问题 [ 76%]

...animation,loadAtlas后,AtlasResource的_referenceCount是0,对应的Texture2D的_referenceCount是AtlasResource中使用的次数,当animation执行destyoy后,AtlasResource和Texture2D的_referenceCount没有变化,再次创建后AtlasResource的_referenceCount依旧是0,对应的Textu...

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

73. 从大图里边截取一部分显示,为啥显示不出来? [ 75%]

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

74. laya.net.Loader_API3.0 [ 75%]

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

75. laya.resource.Texture2DArray_API3.0 [ 75%]

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

76. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 75%]

layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...

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

77. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 75%]

layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...

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

78. 骨骼动画销毁后再创建,报错 [ 74%]

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

79. 如果把一张图片在内存中修改后,再重新加载为texture[ 74%]

如果把一张图片在内存中修改后,再重新加载为texture? 现在希望对一张下载的图片进行模糊,再把模糊后的对象放入texture或者image中显示, 请问下这个流程要怎么处理? 2017-07-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

80. laya.display.BitmapFont_API3.0 [ 74%]

...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...

来源: Laya3.0_api 发布时间: 20231115