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

大约有 269 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)

41. laya接入fairyGUI的时候资源加载方式? [ 83%]

...@param complete * @param progress * @param priority */ public load(resKey: string, otherLoadData: any, complete?: Laya.Handler, progress?: Laya.Handler, priority?: number) { if (priority) { this.priority = priority; } else { this.priority = 1; } if (progress) { progress.once = false; } let loadData:...

来源: Laya_社区 发布时间: 20191107

42. Laya.loader.load 教程代码出错 [ 82%]

...index++)             {                 var url:String = "../Res/Images/Role1/00011208_"+ index.toString() +".bmp";                 arr.push(url);             }             Laya.loader.load(arr,Handler.create(this,LoadComplated));  ...

来源: Laya_社区 发布时间: 20170918

43. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 82%]

...ivate * 加载声音。 * @param url 地址。 */ public function load(url:String):void { if (!MiniFileMgr.isLocalNativeFile(url)) { url = URL.formatURL(url); }else { if (url.indexOf("http://") != -1 || url.indexOf("https://") != -1) { if(MiniFileMgr.loadPath != "") { url = url.spl...

来源: Laya_社区 发布时间: 20180503

44. laya.d3.animation.AnimationClip [ 82%]

... duration():Number 获取动画片段时长。 AnimationClip  load(url:String, complete:Handler):void[static] 加载动画片段。 AnimationClipProtected Methods  MethodDefined By  _disposeResource():void[override] AnimationClipProperty Detailisloopingpropertypublic var islooping:Boolean是...

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

45. laya.d3.core.MeshSprite3D [ 82%]

...nder : MeshRender[read-only] 获取网格渲染器。 MeshSprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所属场景。 Sprite3D timer : Timer时间控制器,默认为Laya.timer。Nod...

来源: laya_api 发布时间: 20170929

46. 加载-错误处理和进度 [ 82%]

...): void { console.log("加载进度: " + progress); } private onError(err: String): void { console.log("加载失败: " + err); } } } new laya.Loader_ProgressAndErrorHandle();package { import laya.events.Event; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public c...

来源: Laya_示例 发布时间: 20251130

47. laya.media.Sound_API3.0 [ 82%]

...aya/media/Sound.ts:38 释放声音资源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如...

来源: Laya3.0_api 发布时间: 20231115

48. laya.d3.resource.models.Mesh_API3.0 [ 81%]

...getData Defined in laya/d3/resource/models/Mesh.ts:132 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherit...

来源: Laya3.0_api 发布时间: 20231115

49. 在使用资源版本控制时,URL.formatURL中有个bug [ 81%]

...控制时,URL.formatURL中有个bug public static function formatURL(url:String, base:String = null):String { if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat != null) url = customFor...

来源: Laya_社区 发布时间: 20171213

50. laya.d3.component.hlod.HLODResourceGroup_API3.0 [ 81%]

...dateMark: number Defined in laya/d3/component/HLOD/HLODUtil.ts:85 url url: string Defined in laya/d3/component/HLOD/HLODUtil.ts:84 Methods load load(callFun: Function, hlod: any): void Defined in laya/d3/component/HLOD/HLODUtil.ts:94 loaded Parameters callFun: Function hlod: any Returns void release...

来源: Laya3.0_api 发布时间: 20231115