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

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

2471. laya.d3.js里定义的这个投影矩阵不太对吧 [ 47%]

...帮忙看一下 3D平行光产生的投影,如何修改颜色深浅? event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 请问laya里如何解析json,似乎和AS3的不太一样。 "Background is not defined"怎么会没定义呢???求救 ...

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

2472. laya.d3.core.GlitterRender [ 47%]

....d3.coreClasspublic class GlitterRenderInheritanceGlitterRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取包围盒,不允许修改其值。 BaseRender boundi...

来源: laya_api 发布时间: 20170929

2473. 改变Laya.stage.scaleMode的问题 [ 47%]

... 我会使用下列方式监听视窗改变的事件。Laya.stage.on(Laya.Event.RESIZE,this,this.doResize.bind(this));  并且会在该事件(doResize)中改变 Laya.stage.scaleMode 的值。doResize () { Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; }    但是我发现在onResize事件里...

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

2474. list点击label保留一种状态 [ 47%]

... dataIndex = data[index]; var label = item.getChildByName('lab'); label.on(Event.CLICK,this,onClickBtn,[index]); } function onClickBtn(index){ for(var q = 0;q < 10;q++){ record_slide_list.getCell(q).getChildByName('lab').bgColor = '#f3d9b4'; } record_slide_list.getCell(index).getChildByName('lab'...

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

2475. Oppo加载.ls资源错误 [ 47%]

... 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来...

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

2476. Cannot read property 'call' of undefined [ 47%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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

2477. 通过绘制纹理生成的图片,改变scale时会出现图片不绘制的情况 [ 47%]

...//每点一下就缩小0.05倍             Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{                 _picScale-=0.05;                 sp.scale(_picScale,_picScale);                 //缩小到0.7倍时,图片就不见了     ...

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

2478. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex &gt...

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

2479. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 47%]

... name: "", inspector: "Buttons", options: { buttons: [{ caption: "生成", event: "click_start_gen" }] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } 2025-07-23 0 0 分享 微博 QZONE 微信 LayaAir小牛 赞同来自: 方法为Editor.showOpenDialog 2025-07-...

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

2480. 龙骨删除后内存不减少 [ 47%]

...请问下   let templet = new Laya.Templet();         templet.on(Laya.Event.COMPLETE, this, () => {             this.skeleton = templet.buildArmature(1);                          this.pos1.addChild(this.skeleton);             this.skeleton.play("work", true);     ...

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