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

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

1. laya.net.LoaderManager [ 100%]

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

来源: laya_api 发布时间: 20170929

2. laya.net.Loader [ 99%]

...Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By  cache : Boolean[read-only] 是否缓存。Loader  data : *[read-only] 返回的数据。Loader  maxTimeOut : int = 100[static] 每帧回调最大超时时间,如果超...

来源: laya_api 发布时间: 20170929

3. laya.resource.Texture [ 83%]

...初次载入成功(通常包含下载和载入),并不能完全表示资源是否可立即使用(资源管理机制释放影响等)。 Texture  offsetX : Number = 0沿 X 轴偏移量。Texture  offsetY : Number = 0沿 Y 轴偏移量。Texture  released : Boolean[read-only] 表示资源...

来源: laya_api 发布时间: 20170929

4. laya.resource.Resource [ 73%]

...seShader, BaseTexture, Buffer, Sky, TerrainHeightData, TerrainRes Resource 资源存取类。 Public Properties PropertyDefined By  disposed : Boolean[read-only] 是否已处理。 Resource  id : int[read-only] 获取唯一标识ID(通常用于优化或识别)。 Resource  lastUseFrameCount :...

来源: laya_api 发布时间: 20170422

5. laya.media.SoundManager [ 72%]

...例。 SoundManager  destroySound(url:String):void[static] 释放声音资源。 SoundManager  playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel[static] 播放背景音乐。背景音乐同时只能播放一个,如果在播放背景音乐时再次...

来源: laya_api 发布时间: 20170929

6. laya.d3.animation.AnimationClip [ 70%]

...nceAnimationClip laya.resource.Resource AnimationClip 类用于动画片段资源。 Public Properties PropertyDefined By  islooping : Boolean是否循环。AnimationClipPublic Methods  MethodDefined By  AnimationClip() 创建一个 AnimationClip 实例。 AnimationClip  load(url:String):Ani...

来源: laya_api 发布时间: 20170929

7. laya.d3.resource.TextureCube [ 67%]

...ined By  defaulteTexture : BaseTexture[override] [read-only] 获取纹理资源。 TextureCube format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTexture mipmap : ...

来源: laya_api 发布时间: 20170929

8. laya.d3.resource.Texture2D [ 66%]

... PropertyDefined By defaulteTexture : BaseTexture[read-only] 获取纹理资源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTexture mipmap : ...

来源: laya_api 发布时间: 20170929

9. laya.ui.Image [ 63%]

...现的。Sprite gray : Boolean 是否变灰。Component  group : String 资源分组。 Image  height : Number[override] 表示显示对象的高度,以像素为单位。 注:当值为0时,高度为自适应大小。 Image hitArea : * 可以设置一个Rectangle区域作为点击区域...

来源: laya_api 发布时间: 20170929

10. laya.d3.resource.DataTexture2D [ 63%]

... PropertyDefined By defaulteTexture : BaseTexture[read-only] 获取纹理资源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTexture mipmap : ...

来源: laya_api 发布时间: 20170929