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

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

1. laya.d3.math.BoundSphere_API3.0 [ 100%]

...y BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessors center radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number):...

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

2. stage.alignV = middle && stage.alignV = center不生效 [ 99%]

stage.alignV = middle && stage.alignV = center不生效 此贴为说明贴。。。。。。。。。。。。。。 1,大家项目开发中使用这种对齐方式时,出现没有效果,那是因为我们设置的居中是画布居中,但是我们的项目画布全屏了,所以...

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

3. HtmlDIV style="text-align:center"无效,该怎么居中文字呢? [ 99%]

HtmlDIV style="text-align:center"无效,该怎么居中文字呢? HtmlDIV style="text-align:center"无效,该怎么居中文字呢? 2017-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ssqhu 赞同...

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

4. scaleMode 为 fixedWidth 的时候 alignH = "center" 为什么不生效?? [ 99%]

scaleMode 为 fixedWidth 的时候 alignH = "center" 为什么不生效?? 如题,不知道是bug还是就这样 2018-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 提供例...

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

5. align=center的文本框,文字内容超出宽度时居中布局无效 [ 98%]

align=center的文本框,文字内容超出宽度时居中布局无效 一个文本,设置align=center,并且设置了宽度值width 但是发现一个问题,当这个文本较长,里面文本的宽度超出了文本框的width的时候,就不会居中了,实际效果看上去是左对齐...

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

6. 文本align="center", 对齐方式无效,无论设置什么值,都是左对齐 [ 97%]

文本align="center", 对齐方式无效,无论设置什么值,都是左对齐 var txtCountDown = new Laya.Text(); txtCountDown.fontSize = 30; this.rankSprite2.txtCountDown = txtCountDown; this.rankSprite2.addChild(txtCountDown); txtCountDown.text = 15; txtCountDown.pivotX = txtCountDown.width/...

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

7. [LayaAir2]2.13.7版本在微信小游戏上文本的center居中无效往右偏 [ 95%]

[LayaAir2]2.13.7版本在微信小游戏上文本的center居中无效往右偏 使用的是2.13.7的实例发布的到微信小游戏出现的,只加了一个按钮的倒计时,下面那两个按钮都没做任何处理也往右偏了,demo在附件里面,麻烦官方的人看一下,谢...

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

8. [LayaAir3]大box套2小box,大box设置Align: Center无效 [ 94%]

[LayaAir3]大box套2小box,大box设置Align: Center无效 工程在附件。   描述: 这里,给的 Align: Ceter 到下面的黄色盒子,并不会居中. 附件 : --> 2025-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

9. laya2.0 ui控件设置center总是有问题 [ 94%]

laya2.0 ui控件设置center总是有问题 在laya2.0beta4创建ui控件,通过centerx做控件居中显示,编辑器上看到是正常的,运行的时候却显示在最左边了(就像是x=0的效果)。 left,right,top,bottom相关的也时好时坏,用1.7.22版本的时候至少编...

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

10. 计时器-延迟调用 [ 93%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; demonstrate(); })(); function demonstrate() { for (var i = 0; i < 10; i++) { Laya.timer.callLater(this, onCallLater); } } function onCallLate...

来源: Laya_示例 发布时间: 20251130