大约有 121 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0127 秒)
...s not accept mouse events or a non-clickable area is set. * @ZH 用于非UI组件显示对象节点(容器对象或没有设置图像资源的显示对象),鼠标事件与此对象在碰撞检测时,是否穿透。ture为可穿透,false为不可穿透。 * 可穿透时,引擎不再检测...
来源: Laya_社区 发布时间: 20250825
...是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信...
来源: Laya3.0_api 发布时间: 20231115
...是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Pr...
来源: Laya2.0_api 发布时间: 20190513
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...
来源: Laya2.0_api 发布时间: 20190513
...anceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read...
来源: Laya2.0_api 发布时间: 20190513
...als Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹...
来源: Laya3.0_api 发布时间: 20231115
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited...
来源: Laya3.0_api 发布时间: 20231102
...nu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.Progre...
来源: Laya3.0_api 发布时间: 20231115
...。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场...
来源: Laya2.0_api 发布时间: 20190513
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...
来源: Laya2.0_api 发布时间: 20190513