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

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

91. http 请求 once 的 回调参数,如何传递和接收? [ 75%]

...function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。 Parameters type:String — 事件的类型。  ...

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

92. Laya.sprite.on 绑定事件传参数的问题 [ 75%]

...c function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String — 事件的类型。   caller:* — 事件侦听函数的执行...

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

93. laya.ui.Label_API3.0 [ 75%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

94. laya.ui.Image_API3.0 [ 75%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

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

95. laya.ui.Tab [ 75%]

...ya.uiClasspublic class TabInheritanceTab UIGroup Box Component Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

96. laya.ui.View [ 75%]

...nts Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Show Inherited ...

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

97. laya.ui.RadioGroup [ 75%]

...ic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 Public Properties Hide Inherited Public Properties Show Inherited Public ...

来源: laya_api 发布时间: 20170929

98. laya.ui.ProgressBar [ 75%]

...iClasspublic class ProgressBarInheritanceProgressBar Component Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值...

来源: laya_api 发布时间: 20170929

99. laya.d3.core.SkinnedMeshSprite3D [ 75%]

...eshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSprite3D 类用于创建网格。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node a...

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

100. laya.ui.VScrollBar [ 75%]

...blic class VScrollBarInheritanceVScrollBar ScrollBar Component Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 Public Properties Hide Inherited Public Properties Show In...

来源: laya_api 发布时间: 20170929