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

大约有 632 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 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. laya2.0 ui控件设置center总是有问题 [ 94%]

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

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

8. 计时器-延迟调用 [ 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_示例 发布时间: 20240930

9. 计时器-延迟调用 [ 92%]

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

来源: Laya2.0_示例 发布时间: 20240930

10. laya.d3.math.BoundSphere [ 92%]

...phere 类用于创建包围球。 Public Properties PropertyDefined By  center : Vector3包围球的中心。BoundSphere  radius : Number包围球的半径。BoundSpherePublic Methods  MethodDefined By  BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere...

来源: laya_api 发布时间: 20170929