大约有 54 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
...reateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/media/HtmlVideo.ts:13 Returns HtmlVideo Properties destoryedImmediately destoryedImmediately: boolean Inherit...
来源: Laya3.0_api 发布时间: 20231102
... Public/Protected 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 sourceHei...
来源: Laya3.0_api 发布时间: 20231115
...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 *...
来源: Laya2.0_文档 发布时间: 20210715
...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 *...
来源: Laya2.0_文档 发布时间: 20210715
...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 *...
来源: Laya2.0_文档 发布时间: 20210715
...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By _atlasID : int = -1Texture bitmap : * 图片...
来源: laya_api 发布时间: 20170929
...Frames No Frames HTMLCanvasProperties | Methods | Constants Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。。请不要直接使用 new HTMLCanvas! Public Properties Prop...
来源: laya_api 发布时间: 20170929
引擎2.0.2版本,调用Resource.destroyUnusedResources问题 在切换场景的时候将UI销毁,再调用Resource.destroyUnusedResources销毁大图的纹理资源。在之后的界面中如果用到了这个url对应的bitmap的时候。都会通过recoverBitmap进行一次重新加载,导...
来源: Laya_社区 发布时间: 20191105
...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-on...
来源: Laya2.0_api 发布时间: 20190513
...f_d 赞同来自: 可以手动 直接.destroy 就可以了 也可以Laya.Resource.destroyUnusedResources(); 销毁当前没有被使用的资源 2019-05-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****515 相关问题 纹理...
来源: Laya_社区 发布时间: 20190421