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

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

1. laya.net.LoaderManager [ 100%]

...nceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件...

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

2. laya.net.Loader [ 99%]

...ic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By  cache : Boolean[read-only] 是否缓存。Loader  data : *[read-only] 返回的数据。Loader  maxTimeOut : int = 100[st...

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

3. laya.net.ResourceVersion [ 90%]

... MethodDefined By  addVersionPrefix(originURL:String):String[static] 为加载路径添加版本前缀。 ResourceVersion  enable(manifestFile:String, callback:Handler, type:int = 2):void[static] 启用资源版本管理。 由于只有发布版本需要资源管理。因此没有资源管理...

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

4. laya.resource.Texture [ 81%]

...件。 EventDispatcher  load(url:String, complete:Handler = null):void 加载指定地址的图片。 Texture  moveUV(offsetX:Number, offsetY:Number, uv:Array):Array[static] 平移 UV。 Texture off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDis...

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

5. laya.ui.Image [ 80%]

...或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

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

6. laya.display.Scene [ 75%]

...eScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public Propertie...

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

7. laya.ui.Clip [ 74%]

...割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

8. laya.media.Sound [ 69%]

...件类型是否是鼠标事件。 EventDispatcher  load(url:String):void 加载声音。 Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 Ev...

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

9. laya.d3.resource.TextureCube [ 68%]

...mipMap。 BaseTexture  load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube  setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 TextureCube  setSixSidePixels(width:int, height:int, pixels:Array):void 通...

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

10. laya.ui.AdvImage [ 68%]

...skin : String 对象的皮肤地址,以字符串表示。 如果资源加载,则先加载资源加载完成后应用于此对象。 注意:资源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 ...

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