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

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

241. [LayaAir3]Laya3.3废弃了filters,如何设置sprite滤镜,添加PostProcess2D,再给Process添加ColorEffect2D也不生效 [ 83%]

...addChild(spirit);     spirit.x = 360;     spirit.y = 640;     const url = "lang/zh-cn/spine/hero/zhujue_attack/zhujue_attack.skel"     Laya.loader.load(url).then(()=>{         let spine = spirit.addComponent(Laya.Spine2DRenderNode)         spine.source = url;         spine...

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

242. 关于从网络异步加载图片的问题 [ 83%]

...Object = new Browser.window.Blob([byte.buffer], { type: "image/png" });var url:String = Browser.window.URL.createObjectURL(blob);//创建一个url对象;////我们先用第一种方式显示图片到舞台;var sp:Sprite = new Sprite();sp.loadImage(url);Laya.stage.addChild(sp);//添加到舞台 ...

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

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

...ya接入fairyGUI的时候资源加载方式?     Laya.loader.load([{ url: "res/Basics_atlas0.png", type: laya.net.Loader.IMAGE },     { url: "res/Basics.fui", type: laya.net.Loader.BUFFER }, { url: "res/MainMenu_atlas0.png", type: laya.net.Loader.IMAGE },     { url: "res/MainMenu.fui",...

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

244. laya.d3.component.hlod.HLODResourceGroup_API3.0 [ 83%]

...e Hierarchy HLODResourceGroup Index Properties loaded resources updateMark url Methods load release Properties loaded loaded: boolean Defined in laya/d3/component/HLOD/HLODUtil.ts:87 resources resources: HLODElement[] Defined in laya/d3/component/HLOD/HLODUtil.ts:86 updateMark updateMark: number Def...

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

245. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 83%]

...r.load方法将文件加载完,然后通过: __JS__('wx').postMessage({url:url,data:tempData,isLoad:"filedata"}); 说明: url是图集文件的路径; tempData:是图集文件的json数据; isLoad:为filedata,这个是固定死的,不能修改 在主域里通过消息透传,把数...

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

246. 在Native端IOS下提示反射找不到方法? [ 83%]

...oxy = Laya.PlatformClass.createClass(className); jsProxy.call("playVideo", url); }   ---JSProxy.h #import <Foundation/Foundation.h> @interface JSProxy : NSObject +(void)playVideo: (NSString*) url; // 只支持对象类型String类型用NSString @end   ---JSProxy.mm #import "JSProxy.h" #impor...

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

247. iOS 重新初始化引擎 [ 83%]

iOS 重新初始化引擎 场景:游戏大厅(controllerA加载url_1)点击进入某个游戏(controllerB加载url_x),  controllerB初始化报错 [[conchRuntime alloc] initWithView:self.m_pGLKView EAGLContext:self.m_pEAGLContext downloadThreadNum:3 URL:self.url]; 初始化报错   附件 : --> 2...

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

248. laya.resource.PrefabImpl_API3.0 [ 83%]

...ructors constructor Properties _id api data destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep addDep...

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

249. laya.gltf.glTFResource_API3.0 [ 83%]

...e Index Constructors constructor Properties destoryedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep...

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

250. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 83%]

...);             }else {             var ltcBasePath=URL.getPath(loader.url);             var urls=[             Laya3D.formatRelativePath(ltcBasePath,ltcData.front),             Laya3D.formatRelativePath(ltcBasePath,ltcData.back),      ...

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