大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...它格式文件实际也是需要缓存的 而新提供的手动缓存API public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void 和原有loader加载方式产生分裂,导致游戏加载代码不统一,并且...
来源: Laya_社区 发布时间: 20180312
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Socket" Socket Class Socket Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通...
来源: Laya3.0_api 发布时间: 20231115
...Laya.Loader.SOUND, 0, true, null, false) }) public static playBackGroundMusic(url: string, start: number) { if (soundMsg.isPlayingBgMusic) { let path = "remote/music/" + url + '.mp3'; Laya.S...
来源: Laya_社区 发布时间: 20201102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/BaseRender" BaseRender Class BaseRender Render 类用于渲染器的父类,抽象类不允许实例。 Hierarchy Component Base...
来源: Laya3.0_api 发布时间: 20231115
...代码: /** * 传递图集url地址到 * @param url 为绝对地址 */ public static function sendAtlasToOpenDataContext(url:String):void { if(!MiniAdpter.isZiYu) { var atlasJson:Object = Loader.getRes(URL.formatURL(url)); if(atlasJson) { var textureArr:Array = (atlasJson.meta.image as String).spl...
来源: Laya_社区 发布时间: 20180830
...@param height 截取的高度。 * @return 返回一个新的Texture。 */ public static function createFromTexture(texture:Texture, x:Number, y:Number, width:Number, height:Number):Texture 这个也是截取矩形的 Texture类里的 2018-01-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20180110
... cuixueying 赞同来自: 遇到问题多查下APIPool recover () 方法 public static function recover(sign:String, item:Object):void 将对象放到对应类型标识的对象池中。 参数 sign:String — 对象类型标识字符。 item:Object — 对象。 2016-09-21 0 1 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20160921
... * @return js原生的XML对象。 */ public static var parseXMLFromString:Function = function(value:String):XmlDom { var rst:*; var Parser:*; value = value.replace(/>\s+</g, '><'...
来源: Laya_社区 发布时间: 20180111
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/UnlitMaterial" UnlitMaterial Class UnlitMaterial UnlitMaterial 类用于实现不受光照影响的材质。 Hierarchy Material...
来源: Laya3.0_api 发布时间: 20231115
...A,它有一个静态函数a,像这样: export class A { public static a(data:string):void } 我在ios下oc代码里想调用A的静态函数a,代码写成 [[conchRuntime GetIOSConchRuntime] runJS:@"A.a('123')"]; 运行后认为找不到A,我尝试了论坛里提到的各...
来源: Laya_社区 发布时间: 20190710