大约有 6 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0023 秒)
...URL 与包含脚本的文本具有相同的主机名和端口。 data:* (default = null) — (default = null)发送的数据。 method:String (default = get) — (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 responseType:String (default = text) — (defaul...
来源: Laya2.0_api 发布时间: 20190513
...,params:xx},{url:xx,clas:xx,priority:xx,params:xx}]。 complete:Handler (default = null) — 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url...
来源: Laya2.0_api 发布时间: 20190513
...是否缓存及派发完成事件 Event.COMPLETE 。 Parameters content:* (default = null) — 加载后的数据 getAtlas()method public static function getAtlas(url:String):Array 获取指定资源地址的图集地址列表。 Parameters url:String — 图集地址。 ReturnsArray — 返回地...
来源: Laya2.0_api 发布时间: 20190513
...,则尝试连接到指定的主机和端口。 Parameters host:String (default = null) — 服务器地址。 port:int (default = 0) — 服务器端口。 byteClass:Class (default = null) — 用于接收和发送数据的 Byte 类。如果为 null ,则使用 Byte 类,也可传入 Byte ...
来源: Laya2.0_api 发布时间: 20190513
...计算开销大,支持换装,不建议使用) Parameters aniMode:int (default = 0) — 0 动画模式,0:不支持换装,1,2支持换装 ReturnsSkeleton — deleteAniData()method public function deleteAniData(aniIndex:int):void Parameters aniIndex:intdestroy()method override public function ...
来源: Laya2.0_api 发布时间: 20190513
...ic function Video(width:int = 320, height:int = 240) Parameters width:int (default = 320) height:int (default = 240)Method DetailcanPlayType()method public function canPlayType(type:int):String 检测是否支持播放指定格式视频。 Parameters type:int — 参数为Video.MP4 / Video.OGG / Vi...
来源: Laya2.0_api 发布时间: 20190513