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

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

51. laya.ui.Tab_API3.0 [ 85%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handle...

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

52. laya.ui.ColorPicker_API3.0 [ 85%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { impor...

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

53. laya.ui.ProgressBar_API3.0 [ 85%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息...

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

54. 动画不显示 [ 85%]

...webgl.shapes.Ellipse;     import laya.display.Stage;     import laya.ui.Label;     import laya.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya...

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

55. 2D物理-复合碰撞器 [ 85%]

...Draw"; import { Stat } from "laya/utils/Stat"; import { Label } from "laya/ui/Label"; import { Event } from "laya/events/Event"; export class Physics_Physics_Tumbler { private count = 0; private box: Sprite; private totalBox = 200; private label: Label; Main: typeof Main = null; constructor(maincls:...

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

56. laya.ui.FontClip_API3.0 [ 85%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/FontClip" FontClip Class FontClip 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...

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

57. 缓动-缓动函数演示 [ 84%]

... 'QuadInOut'); data.push('quartIn', 'quartOut', 'quartInOut'); data.push('quintIn', 'quintOut', 'quintInOut'); data.push('sineIn', 'sineOut', 'sineInOut'); data.push('strongIn', 'strongOut', 'strongInOut'); easeFunctionsList.array = data; } renderList(item) { item.setLabel(item.dataSource); } onEase...

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

58. laya.events.InputManager_API3.0 [ 84%]

... number 键值。参考:https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values Returns boolean 是否被按下。 Globals "laya/events/InputManager" InputManager constructor clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mouseEventsEnabled mouseX m...

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

59. laya.ui.CheckBox_API3.0 [ 84%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 d...

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

60. laya.ui.Dialog_API3.0 [ 84%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过...

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