大约有 377 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0071 秒)
Laya_社区(230) Laya3.0_文档(45) Laya2.0_文档(44) laya_api(35) Laya3.0_api(10) Laya2.0_api(10) Laya2.0_示例(2) Laya_示例(1)
... sizeGrid 九宫格(SizeGrid) 是一种用于 可拉伸 UI 纹理 的布局技术。 通过将纹理分割为九个区域,可以在拉伸 UI 控件尺寸时,保持四个角不变形,仅中间与边缘部分被平滑拉伸。 这种方式常用于按钮、面板、输入框、气泡框等...
来源: Laya3.0_文档 发布时间: 20251128
...ocument.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layaair.com/"; Laya.Browser.document.body.appendChild(iframe); 这里...
来源: Laya3.0_文档 发布时间: 20251010
...screenMode(value: string): void Defined in laya/display/Stage.ts:728 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Returns string Defined in laya/display/Stage.ts:732 场景布局类型。 取值范围: "none" :不更改...
来源: Laya3.0_api 发布时间: 20231115
...能使用引擎的对象。 IEditor.inspectorLayout注册了一个编辑器布局,第一个参数指定是选择资源时会触发(如果是“node”,则是选定场景节点时会触发)。IEditor.MetaDataInspectorLayout是一个典型的从meta文件读取数据和写入数据到meta文...
来源: Laya3.0_文档 发布时间: 20251010
...u Globals "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isW...
来源: Laya3.0_api 发布时间: 20231115
...y exported Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Ac...
来源: Laya3.0_api 发布时间: 20231115
...y exported Menu Globals "laya/ui/HBox" HBox Class HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _is...
来源: Laya3.0_api 发布时间: 20231115