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

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

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

列表 (GList)一、 管理列表内容二、 虚拟列表三、 循环列表四、列表项Runtime列表 (GList) Author: 谷主 Template Node item节点模版。从层级面板拖入一个节点。这个节点必须为GList节点的孩子。 Init Item Num 初始item数量。如果大于0...

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

2. 几个相同UI的对象,调用其中一个对象的方法,总是走进最后一个对象的方法里 [ 92%]

...方法里 在大厅里,有很多具有相同的UI的对象,组成一个列表: var tableChild = new TableChild();//for循环了10个添加到baijialeHome里 this.baijialeHome.addChild(tableChild); 当有后台发来数据的时候,更新其中一个数据,for循环根据ID找到这个对...

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

3. Morn UI创建皮肤时的基类能自定义吗?不要View或者Dialog [ 87%]

...界面可以把皮肤实例中的各个显示对象添加到自己的显示列表中,在界面里用_skin.btn、_skin.label的形式来引用显示对象。 你给的例子,加的逻辑还是在皮肤里。界面还是要继承皮肤。   2018-02-01 0 0 分享 微博 QZONE 微信 为什么被...

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

4. laya.ui.ComboBox [ 84%]

...ponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不...

来源: laya_api 发布时间: 20170929

5. laya.ui.ComboBox [ 83%]

...ponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierar...

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

6. laya.ui.List [ 81%]

... EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...

来源: laya_api 发布时间: 20170929

7. laya.ui.List [ 81%]

... EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

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

8. 关于getGraphicBounds的代码原理 [ 80%]

... 看了好久,现在_getCmdPoints大概明白了,就是根据绘图cmd列表,计算不同的边框,放到一起。   现有还两个疑问: 代码最后这里:   为什么rst超过200长的时候,直接取了边框,而8~200之间却算了个凸包呢? _getCmdPoints只在Graphics....

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

9. laya.ui.ColorPicker [ 80%]

...entDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更...

来源: laya_api 发布时间: 20170929

10. laya.ui.ColorPicker [ 80%]

...entDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolea...

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