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

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

641. Skeleton骨骼动画内存泄漏 [ 51%]

...ure2d destory"); } this.bitmap=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } }增加的代码是 if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } 2019-06-13 0 0 分享 微博 QZONE 微信 打...

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

642. laya.net.LoaderManager_API3.0 [ 51%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPL...

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

643. 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? [ 51%]

...黑面 请教一个关于laya2.5d项目美术规范的问题哈 请问下loader如何强制加载一个文件,避免浏览器的缓存 如何导入3D模型,以及展示与编辑它 问题状态 最新活动: 2018-08-22 11:22 浏览: 3448 关注: 6 人 leonszheng • 2018-08-20 19:02 我用的就...

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

644. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 51%]

...ya.ResourceVersion.FILENAME_VERSION);  function beginLoad(){     Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/  function updateItem(cell, index) { cell.setImg(cell.dataSource); }  function onLoaded(): void {      var rankList = new Laya.List();    ...

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

645. 图片遮罩大小跟设置不一致 [ 50%]

...adImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.grap...

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

646. 导航标签组组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let tabA: Laya.Tab = this.createTab(this.skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#33...

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

647. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 50%]

...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...

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

648. 加载.lh文件 运行后黑屏 无法显示 [ 50%]

...nkey/LayaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}];     //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete));         Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete));     }     public onCompl...

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

649. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 50%]

...认应用程序。编写代码如下: ```java package { import laya.net.Loader; import laya.utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资...

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

650. 请教一个图片处理成黑白的问题 [ 50%]

...能console出,那个list中的数据也存在,但没渲染出。 Laya.Loader.getRes请教 本地调试加载本地图片都报错 问题状态 最新活动: 2017-06-15 17:04 浏览: 1766 关注: 4 人 189*****192 • 2017-06-16 09:27 http://layaair.ldc.layabox.com/demo/?Filters_Color 我发的...

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