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

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

1. laya.net.Socket [ 100%]

...子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Socket(host:String = null, port:int = 0, byteClass:Class = null, protocols:Array = null) 创建新的 Socket ...

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

2. laya.net.HttpRequest [ 88%]

...Event Summary Defined By  complete请求结束后调度。HttpRequest  error请求出错时调度。HttpRequest  progress请求进度改变时调度。HttpRequestProperty Detaildatapropertydata:*  [read-only] 返回的数据。 Implementation     public function get data():*httpproperty...

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

3. laya.net.LoaderManager [ 88%]

...OMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线程,可以通过maxLoader属性修改线程数量; 多优先级:有0-4...

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

4. laya.ani.bone.Templet [ 83%]

... Summary Defined By  complete数据解析完成后的调度。Templet  error数据解析错误后的调度。TempletProperty DetailaniSectionDicpropertypublic var aniSectionDic:ObjectbindBoneBoneSlotDicproperty public var bindBoneBoneSlotDic:Object 绑定插槽数据的字典 boneSlotArrayprope...

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

5. laya.net.Loader [ 82%]

...kerLoader:Boolean = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = nul...

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

6. laya.events.Event [ 78%]

...ing = enter[static] 定义 enter 事件对象的 type 属性值。Event  ERROR : String = error[static] 定义 error 事件对象的 type 属性值。Event  FOCUS : String = focus[static] 定义 focus 事件对象的 type 属性值。Event  FOCUS_CHANGE : String = focuschange[static] 定义 fo...

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

7. laya.ui.UIEvent [ 75%]

...tring = enter[static] 定义 enter 事件对象的 type 属性值。Event ERROR : String = error[static] 定义 error 事件对象的 type 属性值。Event FOCUS : String = focus[static] 定义 focus 事件对象的 type 属性值。Event FOCUS_CHANGE : String = focuschange[static] 定义 focusc...

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

8. laya.device.media.Media [ 69%]

...efined By  Media()Media  getMedia(options:Object, onSuccess:Handler, onError:Handler):void[static] 获取用户媒体。 Media  supported():Boolean[static] 检查浏览器兼容性。 MediaConstructor DetailMedia()Constructorpublic function Media()Method DetailgetMedia()method public static fu...

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

9. laya.device.media.Video [ 45%]

... : Boolean[read-only] 返回音频/视频的播放是否已结束 Video  error : Boolean[read-only] 返回表示音频/视频错误状态的 MediaError(JS)对象。 Video filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于s...

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