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

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

1. laya.display.Scene_API3.0 [ 100%]

...ened onOpened(param: any): void Defined in laya/display/Scene.ts:140 场景打开完成后,调用此方法(如果有弹出动画,则在动画完成后执行) Parameters param: any Returns void once once(type: string, listener: Function): EventDispatcher once(type: string, caller: any, listen...

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

2. laya.ui.View_API3.0 [ 98%]

...d Inherited from Scene.onOpened Defined in laya/display/Scene.ts:140 场景打开完成后,调用此方法(如果有弹出动画,则在动画完成后执行) Parameters param: any Returns void once once(type: string, listener: Function): EventDispatcher once(type: string, caller: any, listen...

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

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

...义自己的管理器,来更改窗口管理的流程。 任意对话框打开和关闭,都会触发管理类的open和close事件 Returns DialogManager Defined in laya/ui/Dialog.ts:168 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理,可以自定义自己...

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

4. laya.ui.Tree_API3.0 [ 57%]

...识别为树结构的文件夹开启状态图表。2帧:折叠状态、打开状态。 folder.x = 14; folder.y = 4; this.addChild(folder); var label = new laya.ui.Label("treeItem"); label.name = "label";//设置 label 的name 为“label”时,此值将用于树结构数据赋值。 label.color ...

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

5. laya.ui.DialogManager_API3.0 [ 56%]

...对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,...

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

6. laya.physics.PhysicsDebugDraw_API3.0 [ 48%]

...辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active...

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

7. laya.display.Sprite_API3.0 [ 47%]

...mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针对不同的情况做了渲染优化...

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

8. laya.ui.ColorPicker_API3.0 [ 37%]

...ns EventDispatcher open open(): void Defined in laya/ui/ColorPicker.ts:284 打开颜色样本列表面板。 Returns void parentRepaint parentRepaint(type?: number): void Inherited from Text.parentRepaint Defined in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parame...

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

9. laya.ui.ComboBox_API3.0 [ 35%]

...ue: boolean): void Defined in laya/ui/ComboBox.ts:516 表示下拉列表的打开状态。 Returns boolean Defined in laya/ui/ComboBox.ts:520 表示下拉列表的打开状态。 Parameters value: boolean Returns void itemColors get itemColors(): string set itemColors(value: string): void Defined in...

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