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

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

1201. Animation创建时无法获取高度 [ 56%]

...--> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 1、加个ti...

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

1202. 如何根据 MeshTerrainSprite 设置 laya.d3.component.PathFind 的 Grid 的 walkable ? [ 56%]

...多一点话就不能滚动查看内容 screenMode 设置成vertical后,width和hight获取问题 问题状态 最新活动: 2017-06-30 11:22 浏览: 787 关注: 3 人

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

1203. [LayaAir 2.0]laya打包华为快游戏,drawToCanvas() 获取屏幕像素为空 [ 56%]

...Air 2.0 在打包华为快游戏时, Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0).getTexture()会导致游戏卡死,无报错。try catch后错误信息也没有。   输出错误信息:    TIPS:已经定位到了这句代码 附件 : --> 2023-11-16 添加评论 免...

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

1204. 富文本 中文加数字自动换行问题 [ 56%]

富文本 中文加数字自动换行问题 重新赋值style的width时候出现     引擎Layout 的_multiLineLayout应该有问题     附件 : --> myLaya1.rar 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

1205. mouseThrough 属性等于 true 的时候 即使不透明也被穿透 BUG! [ 56%]

...ugh属性和透明没有关系,影响对象鼠标事件相应区域的是width,height,hitArea,具体请查看API 2020-05-15 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 avpvsdoom 相关问题 Layaair IDE的帧属性面板不见...

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

1206. 请教个问题:如何重绘sharedCanvas [ 56%]

...域"); let sharedCanvas = Laya.Browser.window.sharedCanvas; sharedCanvas.width = 0; sharedCanvas.height = 0; // let tempMatrix = message.matrix; // let matrix = new Laya.Matrix(); // matrix.a = tempMatrix.a; // matrix.b = tempMatrix.b; // matrix.c = tempMatrix.c; // matrix.d = tempMatrix.d; // Laya....

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

1207. 树状列表组件 · LayaAir3.0文档 · LAYABOX [ 56%]

...ee.xml = new Laya.XML(treeData); tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; tree.bgColor = "#d25454"; this.owner.addChild(tree); } } class Item extends Laya.Box { constructor() { super(); this.right = 0; this.left = 0; var selec...

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

1208. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 56%]

...utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private var mouseConstraint:*; private var engine:*; /***/ pu...

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

1209. DialogManager 内部的方法能改成私有的吗? [ 56%]

...的原因,对屏幕可视区域宽高的定义不能简单用Laya.stage.width height来定义,所以想复写DialogManager, 可视这个类里面大部分方法竟然是私有的。 官方能把那些方法改成protected类型吗? 2018-04-19 添加评论 免费帖 --> 分享 微博 QZONE ...

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

1210. 循环自绘的性能问题 [ 56%]

...xture(sharedCanvas); this.graphics.drawTexture(texture, 0, 0, sharedCanvas.width, sharedCanvas.height) 目前性能很差,所以我想请教一下,有没有更优秀的方案? 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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