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

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

101. LayaAir2.13中使用ASTC纹理显示异常,使用两个以上ktx纹理时报错。 [ 59%]

...multiply             Run a preprocess over the image that scales RGB components in             the image by the alpha value. Preprocessing applies before any             codec encoding swizzle, so color data must be in the RGB             components in the source image. 2022-...

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

102. 1.1.0-1.3.0版本IDE发布UI组件的runtime属性在swf运行时的问题 [ 59%]

...件的runtime属性设置后,发布的as代码里有类似代码View.regComponent("xxx.ClassName",ClassName); 1.0.4版本是这样的:View.viewClassMap["xxx.ClassName"] = ClassName; 在H5环境下运行正常,发布成swf运行会报错 报错类:laya.ui.View 报错方法:protected static ...

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

103. 如何在代码中new Poly [ 59%]

...设置它的  renderType   这样也不行 : this.imgExpedition = new component.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition);  Laya.timer.once(2000, this, () => {  let dd: Laya....

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

104. 问题已关闭 [ 59%]

...载地址已经修改为https://layabox.github.io/layaair-doc/resources/2D/Component/layaeditor.d.zip 重新下载即可 2017-06-16 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Loongman 相关问题 发起问...

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

105. 请问laya有与Cocos提供的widget (对齐挂件) 相同功能的东西吗 [ 58%]

...件) 相同功能的东西吗 ? http://docs.cocos.com/creator/manual/zh/components/widget.html   我想让ui可以在不同分辨率都可以固定在同一个位置。 2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

106. laya.ui.View_API3.0 [ 58%]

...InHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY...

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

107. as3分包,如果在ui编辑器IDE里导入了类runtime,在分包里就会报错。这个怎么处理。 [ 58%]

...   at MailWin.__proto.createChildren (Nxsg.max.js:71310)     at MailWin.Component (Nxsg.max.js:52200)     at MailWin.Box (Nxsg.max.js:58163)     at MailWin.View (Nxsg.max.js:62736)     at MailWinUI (Nxsg.max.js:71304)     at new MailWin (eval at __proto.loadJs (Nxsg.max.js:52044), <ano...

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

108. must set Document Class 是怎么回事? [ 58%]

....Skeleton Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 做微信开放域遇到Uncaught Can not find class laya.u...

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

109. laya.ui.UIEvent [ 57%]

...= complete[static] 定义 complete 事件对象的 type 属性值。Event COMPONENT_ADDED : String = componentadded[static] 定义 componentadded 事件对象的 type 属性值。Event COMPONENT_REMOVED : String = componentremoved[static] 定义 componentremoved 事件对象的 type 属性值。Ev...

来源: Laya2.0_api 发布时间: 20190513

110. 关于相对布局的计算 [ 57%]

关于相对布局的计算 Component中resetLayoutX和resetLayoutY中的scaleX和scaleY没有考虑到值为负的情况,包括displayWidth和displayHeight中的计算。 这样导致如果想对界面上某一个图片用scaleX=-1进行反转,重新计算后的坐标位置有变化。这个...

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