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

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

1. laya.utils.TimeLine_API3.0 [ 100%]

...meLine Defined in laya/utils/TimeLine.ts:122 在时间队列中加入一个标签。 Parameters label: string 标签名称。 offset: number 标签相对于上个动画的偏移时间(单位:毫秒)。 Returns TimeLine destroy destroy(): void Defined in laya/utils/TimeLine.ts:443 彻底销毁此...

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

2. laya.ui.CheckBox_API3.0 [ 93%]

...内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; import ...

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

3. laya.ui.Button_API3.0 [ 89%]

...ton 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.utils.Hand...

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

4. laya.ui.Radio_API3.0 [ 87%]

...fault value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Inherited from Button._graph...

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

5. laya.ui.ComboBox_API3.0 [ 87%]

...;//创建一个 ComboBox 类的实例对象 comboBox ,传入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位...

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

6. laya.ui.RadioGroup_API3.0 [ 83%]

...信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGroup.skin = "resource/ui/radio.png";//设置 radioGroup 的皮肤。 radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHandler = new Handler(this, onSelect);//设置 radioGroup ...

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

7. laya.ui.Tab_API3.0 [ 82%]

...//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对象的显示位置。 tab.selectHandler = new ...

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

8. laya.ui.UIGroup_API3.0 [ 76%]

...新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UIGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined ...

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

9. laya.ui.Label_API3.0 [ 70%]

...g: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static drawtocanvCtx drawtocanvCtx: Context Inherited from Text.drawtocanvCtx Defined in laya/display/Sprite.ts:1319 Accessors _isHeightSet get _isHeightSet(): boolean Inherited from Text._isHeightSet Defined in laya/d...

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

10. laya.physics.CircleCollider_API3.0 [ 69%]

...herited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Collide...

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