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

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

111. 微信小游戏加载 BitmapFont 问题 [ 54%]

...tton_font.fnt里面内容的字符串类型MiniLoader.onReadNativeCallBack=function(encoding,url,type,cache,group,ignoreCache,thisLoader,errorCode,data){ (cache===void 0)&& (cache=true); (ignoreCache===void 0)&& (ignoreCache=false); (errorCode===void 0)&& (errorCode=0); if (!...

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

112. Scene.load加载的时候无法正确的识别ResourceVersion [ 50%]

...大概是这样的,ResourceVersion是这样处理URL的: public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...

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

113. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 49%]

...ipt //3d场景加载 Laya.Scene3D.load("xx/xx.ls",Laya.Handler.create(null,function(scene){ //加载完成后,把加载回调中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干...

来源: Laya2.0_文档 发布时间: 20210714

114. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 48%]

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

来源: Laya3.0_文档 发布时间: 20240117

115. 3D场景环境设置 · LayaAir3.0文档 · LAYABOX [ 48%]

...天空盒材质 Laya.Material.load("sky2.lmat", Laya.Handler.create(null, function(mat: any) { //修改天空盒渲染器的天空盒材质 skyRenderer.material = mat; })); 2.3 IDE中创建天空盒 2.3.1 更改IDE默认的球形天空盒 当我们用IDE场景一个3D场景时,默认是采用SkyPa...

来源: Laya3.0_文档 发布时间: 20231129

116. 缓存工具-layadcc · LayaAir3.0文档 · LAYABOX [ 46%]

... await dcc.updateAll((p)=>{/*进度提示*/}) 5.5 使用zip更新 async function downloadBigZip(url:string):Promise<string|null>{ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substring(url.lastIndexOf('/')); return new Promise((resolve,reject)=>{ downloadBigFile(ur...

来源: Laya3.0_文档 发布时间: 20240726

117. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 33%]

...837 Uncaught TypeError: Cannot read property 'props' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837)     at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933)     at EventHandler.__proto.runWith (libs/laya.core.js:1628)     at Loader.__proto.e...

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