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

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

71. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...

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

72. laya.display.Input [ 57%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...

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

73. laya.display.Input [ 57%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定...

来源: laya_api 发布时间: 20170929

74. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 57%]

...耗用内存大的问题是如何解决的? 请问有没有方法能够获取“鼠标是否处于按下状态”? LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 循...

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

75. 不受重力的刚体无法触发碰撞 [ 57%]

...弹球,感谢感谢! Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 求指点3d射线碰撞和UI点击穿透的问题 摄像机跟随刚体移动,刚体出现抖动。 3d物理不能触发onCollisionEnter事件 List滑动会引起单元格上的按钮点击后多次触发...

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

76. laya.ui.ComboBox_API3.0 [ 56%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

77. laya.ui.TextArea_API3.0 [ 56%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

78. laya.ui.DialogManager [ 55%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

79. laya.ui.DialogManager [ 53%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

80. laya.ui.ProgressBar_API3.0 [ 52%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/ProgressBar.ts:119 当 ProgressBar 实例...

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