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

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

31. 有时候加载一大堆资源的时候某个个别图片资源加载失败如何处理 [ 85%]

...   加载结束回调。根据url类型不同分为2种情况:1. urlString类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数组类型,指定了一组要加载的资源,如果全部加载成功,则回调...

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

32. 内存释放问题 [ 85%]

...IModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager */ public static poolM...

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

33. laya.d3.terrain.TerrainHeightData [ 84%]

...rams:Array = null):void[static] 异步回调 TerrainHeightData  load(url:String, complete:Handler, widht:int, height:int, bitType:int, value:Number):void[static] 加载地形高度模板,注意:不缓存。 TerrainHeightDataProperty Detail_bitTypepropertypublic var _bitType:int_heightproperty pub...

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

34. laya.d3.terrain.TerrainRes [ 84%]

...信息。 Public Properties PropertyDefined By  _alphaMaps : Vector.<String>TerrainRes  _cameraCoordinateInverse : BooleanTerrainRes  _chunkInfos : Vector.<ChunkInfo>TerrainRes  _chunkNumX : intTerrainRes  _chunkNumZ : intTerrainRes  _detailTextureInfos : Vector.<DetailTe...

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

35. laya.d3.resource.TextureCube [ 84%]

...Texture source : *[read-only] 获取纹理资源。 BaseTexture  srcs : String[read-only] 文件路径全名。 TextureCube width : int[read-only] 获取宽度。 BaseTextureProtected Properties PropertyDefined By  _needReleaseAgain : Boolean = false异步加载完成后是否需要释放(...

来源: laya_api 发布时间: 20170929

36. laya.d3.core.material.BaseMaterial [ 84%]

...eMaterial  cloneTo(destObject:*):void 克隆。 BaseMaterial  load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial  setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods  MethodDefined By  _disposeResource():void[override] BaseMate...

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

37. laya.net.WorkerLoader_API3.0 [ 83%]

...able Methods load workerSupported Properties Static workerPath workerPath: string = "libs/laya.workerloader.js" Defined in laya/net/WorkerLoader.ts:9 worker.js的路径 Accessors Static enable get enable(): boolean set enable(value: boolean): void Defined in laya/net/WorkerLoader.ts:42 是否启用...

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

38. laya.resource.Texture_API3.0 [ 83%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 offsetX offsetX: number = 0 Defined in laya/resource/Texture.ts:35 沿 X 轴偏移量。 offsetY offsetY: number = 0 Defined in laya/resourc...

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

39. 小游戏子域程序加载到图集后,取图集内资源报错。 [ 83%]

...l 为绝对地址 */ 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).split(","); //构造加载图片信息 if (atlasJson.me...

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

40. 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