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

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

251. laya.spine.SpineTemplet_API3.0 [ 83%]

...ors constructor Properties _id destroyedImmediately lock name skeletonData url uuid DEBUG RuntimeVersion Accessors basePath cpuMemory destroyed gpuMemory id ns obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _setCreateURL _setGP...

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

252. 骨骼动画Laya.Templet.TEMPLET_DICTIONARY问题 [ 83%]

...我想清理Laya.Templet的时候,这个就直接清除了,导致相同url的骨骼动画直接就清理掉了, 那如果我要预加载的话,按这么这么做必须分成2个部分,加载url资源以及生成模板,之后再创建骨骼动画,因为加载资源是异步的,我有...

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

253. 打包app,http无法设置content-type [ 83%]

...上变成了 "{"a":1}"="",content-type也变成了application/x-www-form-urlencoded   代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(nul...

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

254. laya.d3.component.animation.RigidAnimations [ 83%]

...。Component3D  templet : AnimationTemplet[override] RigidAnimations  url : String[override] [write-only] 设置url地址。 RigidAnimationsProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _player : AnimationPlayer动画播放器...

来源: laya_api 发布时间: 20170929

255. laya2.0构建app时url不再支持.html文件,但是需要runtime.json这个文件是怎么来的? [ 83%]

laya2.0构建app时url不再支持.html文件,但是需要runtime.json这个文件是怎么来的? 下面是仿真时的报错信息  I/LayaBox: Download [  ]:http://192.168.0.72/web3/updat ... 0.844 I/LayaBox: >>>JCConchRender::clearAllData =-815802000 D/EGL_emulation: eglMakeCurren...

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

256. 缓存工具-layadcc(TypeScript-LayaNative原生服务-LayaNative进阶) [ 83%]

...,甚至不需要联网。体积最大。 因为是单机版本,没有url,所以无法进行资源动态更新,想要更新资源的话,只能更新App。 ## 安装和使用layadcc layadcc基于Node.js,所以需要Node.js的环境。 ### 1. 安装Node.js 到nodejs[官网](https://nodejs.o...

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

257. png使用base64显示异常 [ 83%]

...代码后,现在显示正常了。 __proto.parseImgForBuffer = function(url,data){ var _this = this; var image; var onload = function () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.cre...

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

258. animate 动画播放 怎么把攻击 开火 合起来播放 [ 83%]

...oleAni); //创建动画模板dizziness Laya.Animation.createFrames(this.aniUrls("die", 4), "die"); Laya.Animation.createFrames(this.aniUrls("fire", 7), "fire"); Laya.Animation.createFrames(this.aniUrls("atk", 3), "atk"); Laya.Animation.createFrames(this.aniUrls("move", 4), "move"); Laya.timer.loop(1...

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

259. 如何加载.lh文件 [ 83%]

...者传入地址数组。即可加载多个模型   Laya.loader.create([ {url:"资源目录/模型名字.lh"}, {url:"同上.lh"},  {url:"同上"},  {url:"同上"}[code]],Handler.create(this,onLoaded)); 2018-05-29 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

260. Texture自动恢复还是存在另外的问题 [ 83%]

....recoverBitmap=function(){        var _$this=this;         var url=this._bitmap.url;         if (!this._destroyed && (!this._bitmap || this._bitmap.destroyed)&& url){             Laya.loader.load(url,Handler.create(this,function(bitmap){            ...

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