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

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

71. laya.ui.WXOpenDataViewer_API3.0 [ 93%]

...a/display/Sprite.ts:1262 Accessors active get active(): boolean set active(value: boolean): void Inherited from Node.active Defined in laya/display/Node.ts:645 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:653 设置是...

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

72. laya.ui.OpenDataContextView_API3.0 [ 93%]

...play/Sprite.ts:534 Returns boolean active get active(): boolean set active(value: boolean): void Inherited from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是...

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

73. UI-ProgressBar [ 93%]

... = new Handler(this, this.onChange); Laya.timer.loop(100, this, this.changeValue); } changeValue() { if (this.progressBar.value >= 1) { this.progressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } } new UI_ProgressBar()...

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

74. laya.ui.ColorPicker_API3.0 [ 93%]

...onent.constructor Defined in laya/ui/ColorPicker.ts:162 Parameters Default value createChildren: boolean = true Returns ColorPicker Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Te...

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

75. laya.spine.SpineSkeleton_API3.0 [ 93%]

...play/Sprite.ts:534 Returns boolean active get active(): boolean set active(value: boolean): void Inherited from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是...

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

76. laya.ui.UIComponent_API3.0 [ 93%]

...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns UIComponent Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Te...

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

77. laya.ui.Image_API3.0 [ 93%]

...ned in laya/ui/Image.ts:98 创建一个 Image 实例。 Parameters Default value skin: string | null = null 皮肤资源地址。 Returns Image Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite...

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

78. laya.ui.ScaleBox_API3.0 [ 93%]

...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text....

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

79. laya.ui.Box_API3.0 [ 93%]

...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownG...

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

80. laya.ui.HScrollBar_API3.0 [ 93%]

...此 hScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var hScrollBar; var res = ["resource...

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