大约有 840 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(569) Laya3.0_api(133) laya_api(54) Laya2.0_api(51) Laya2.0_文档(21) Laya3.0_文档(10) Laya2.0_示例(1) Laya_示例(1)
...ted Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D T...
来源: Laya3.0_api 发布时间: 20231115
...现的。Sprite gray : Boolean 是否变灰。Component group : String 资源分组。 Image height : Number[override] 表示显示对象的高度,以像素为单位。 注:当值为0时,高度为自适应大小。 Image hitArea : * 可以设置一个Rectangle区域作为点击区域...
来源: laya_api 发布时间: 20170929
...Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By cache : Boolean[read-only] 是否缓存。Loader data : *[read-only] 返回的数据。Loader maxTimeOut : int = 100[static] 每帧回调最大超时时间,如果超...
来源: laya_api 发布时间: 20170929
... PropertyDefined By defaulteTexture : BaseTexture[read-only] 获取纹理资源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture grayTexture : SolidColorTexture2D[static] 灰色纯色纹理。SolidColorTexture2D height : int[read-only] 获取高度。 BaseTexture magentaText...
来源: laya_api 发布时间: 20170929
...弹窗视图被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false,此属性由场景类继承而来。 拖动区域 dragArea 拖动区域(格式:x,y,width,height),默认值为"0,0,0,0" 模式窗口 isModal 是否是模式窗口,默认为false。为模...
来源: Laya3.0_文档 发布时间: 20251024
...mory会不停的往上增。 【问题如下】: 问题1:clearRes释放资源之后,Laya.loader.load重新加载同一个资源为什么GPUMemory会不停的增加? 问题2:Laya.loader.clearRes之后,GPUMemory为什么不降低,如果clearRes不会释放内存,那这个接口的作...
来源: Laya_社区 发布时间: 20190307
...derManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事...
来源: laya_api 发布时间: 20170929
...,为了提高性能,我们做了自动内存管理,凡是小于512的资源,我们会动态创建图集(1024*1024),默认是6张上限,如果满了,就会把最早的图片销毁重新创建,这些资源不需要你手动去清理了,引擎会自动清理 大于512的图片,...
来源: Laya_社区 发布时间: 20170621
...Globals "laya/resource/TextResource" TextResource Class TextResource 文字资源 Hierarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMe...
来源: Laya3.0_api 发布时间: 20231115
...urceWidth:Number = 0, sourceHeight:Number = 0):Texture[static] 根据指定资源和坐标、宽高、偏移量等创建 Texture 对象。 Texture createFromTexture(texture:Texture, x:Number, y:Number, width:Number, height:Number):Texture[static] 截取Texture的一部分区域,生成新的Text...
来源: Laya2.0_api 发布时间: 20190513