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

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

21. 内存和显存的释放 [ 86%]

...和释放,大于512*512的要手动管理。 1.如何让大于512*512的texture也像小于512*512的texture一样在别的地方存有引用的情况下释放显存? 2.小于512*512的texture对象 resouresManager 只是管理了显存大小吗?内存如何管理?   2017-11-07 添加评论...

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

22. Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 [ 85%]

Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 1、引擎和ide版本都是2.1.2 2、点击屏幕会绘制一个光圈特效 3、点击第1次加载资源使用后释放调用Laya.loader.clearTextureRes 4、再点第2次      1、图片代码中指示出必然会...

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

23. laya.resource.Texture [ 82%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D ...

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

24. laya.net.LoaderManager_API3.0 [ 82%]

...ds cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建...

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

25. laya.ui.Image [ 80%]

...源加载完成后,会自动缓存至资源库中。 Image  source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动...

来源: laya_api 发布时间: 20170929

26. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 79%]

...白色字透明底。 Font descriptor:字体描述文件,选择 xml。 Textures:纹理图片格式,选择 png。 ![6](img/6.png) 7.导出位图字体。选择菜单栏的 Options->Save bitmap font as…,导出生成的是一个字体描述文件(.fnt格式)和一个字体纹理图文...

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

27. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 78%]

...透明底。 ​ Font descriptor:字体描述文件,选择 xml。 ​ Textures:纹理图片格式,选择 png。 ​ ![图片1.png](http://ldc.layabox.com/uploadfile/image/20160518/1463538975736762.png) ​ 7.导出位图字体。选择菜单栏的 Options->Save bitmap font as...,导出生...

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

28. 生成新的Texture对象 [ 78%]

生成新的Texture对象 在遮罩显示里,怎么将被遮罩的底图生成一个新的texture(显示遮罩效果后的)对象 2017-02-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...

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

29. laya.ani.swf.MovieClip [ 78%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

30. laya.resource.Texture_API3.0 [ 77%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourc...

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