大约有 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...
来源: laya_api 发布时间: 20170929
...存。 Parameters url:String — 资源地址。 forceDispose:Boolean (default = false) — 是否强制销毁,有些资源是采用引用计数方式销毁,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method public function...
来源: laya_api 发布时间: 20170929
...存。 Parameters url:String — 资源地址。 forceDispose:Boolean (default = false) — 是否强制销毁,有些资源是采用引用计数方式销毁,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method public static f...
来源: laya_api 发布时间: 20170929
...件侦听器和其他相关流程工作正常。 Parameters host:String (default = null) — 服务器地址。 port:int (default = 0) — 服务器端口。 byteClass:Class (default = null) — 用于接收和发送数据的 Byte 类。如果为 null ,则使用 Byte 类,也可传入 Byte ...
来源: laya_api 发布时间: 20170929
...计算开销大,支持换装,不建议使用) Parameters aniMode:int (default = 0) — 0 动画模式,0:不支持换装,1,2支持换装 ReturnsSkeleton — destroy()method public function destroy():void 释放纹理 getAniNameByIndex()method public function getAniNameByIndex(index:int):Str...
来源: laya_api 发布时间: 20170929
...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...
来源: laya_api 发布时间: 20170929