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

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

261. Texture2D的GPU纹理压缩的使用(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 82%]

...tegory=3d&group=Texture&name=TextureGPUCompression)) 在这里使用了 `URL.basePath` 方法,去设置加载路径,并且不同的平台加载不同的资源,来使用压缩纹理 ```typescript if (Browser.onAndroid) URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Andro...

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

262. laya.net.HttpRequest_API3.0 [ 82%]

...结果。 Hierarchy EventDispatcher HttpRequest Index Accessors data http url Methods event hasListener off offAll offAllCaller on once reset send Accessors data get data(): any Defined in laya/net/HttpRequest.ts:192 返回的数据。 Returns any http get http(): any Defined in laya/net/HttpRequest...

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

263. 分享:解决 QQ / 微信 获取头像跨域问题 [ 82%]

...方案: 1、需要根据腾讯提供的sdk,获得一个完整的头像url地址; 2、前端将这个完整的头像url地址通过请求发给服务端; 3、服务端用获得的头像url地址通过请求获取头像的二进制数据信息,然后在服务器上存成图片; 4、客户...

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

264. ts 空项目 版本1.7.20 下的load 调用2次 第二次 失效 [ 82%]

...1.7.20 下的load 调用2次 第二次 失效 var assets =[]; assets.push({url:"res/atlas/UI/Shop.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/setting.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/shop_buy.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/build...

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

265. laya.display.BitmapFont_API3.0 [ 82%]

... fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getMaxHeight...

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

266. laya接入vivo平台加载资源卡住66% [ 82%]

...关的链接 提交 2 个回复 *%〈~〉 赞同来自: if (preLoadedMap[url]) { onLoaded(preLoadedMap[url]); } else { ////////////////////////////////////////////////////// //jiaz加载kasi加载卡死wenti if(Browser.onVVMiniGame) {// _http = new HttpRequest(); _http.on(Event.PROGRESS, this, onP...

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

267. 使用IDE构建工程(TypeScript-LayaNative原生服务-LayaNative工具使用) [ 82%]

...机版,否则就是在线版。单机版不需要联网,没有对应的url,不用提供url。但是必须提供游戏资源,否则打包之后无法运行。 * 项目名称: App的名称。同时也是构建项目的输出目录。 * 包名 : 应用的包名,这个正常情况下是不...

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

268. 微信小游戏加载ProtoBuf文件和图片加载问题 [ 82%]

...载回调,也不会报错。 var loadArr:Array = new Array; loadArr= [{url: "res/atlas/hall_new.json", type: Loader.ATLAS}, // {url: "res/atlas/help.json", type: Loader.ATLAS},  // {url: "res/atlas/shop.json", type: Loader.ATLAS}, // {url: "shmjAssets/扣牌文字背景.png", type: Loader.IMAGE},...

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

269. LayaNative中加载自己缓存的资源 [ 82%]

...ya.loader.load 读取的时候始终读不了private function downloadFile(url:String,onComplete:Handler,onError:Handler=null):void{ if(window.conch) { var folder:String=window.conch.getCachePath()+"/download/"; if (!window.fs_exists(folder)) { window.fs_mkdir(folder); } var fileName:String = url.re...

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

270. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 82%]

... Laya.timer.loop(200, this, showframe); function showframe() {     var url = getimage();     this.sp_video.loadImage(url);     }   2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知...

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