大约有 382 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya_社区(231) Laya3.0_文档(49) Laya2.0_文档(44) laya_api(35) Laya3.0_api(10) Laya2.0_api(10) Laya2.0_示例(2) Laya_示例(1)
...cument.createElement("iframe"); iframe.style.position = "absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left = "100px"; iframe.style.top = "100px"; iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(iframe); } ```...
来源: Laya2.0_文档 发布时间: 20210714
...不到或不小心关掉了,可以按快捷键`F3`恢复为默认面板布局。 - 在`.ani`文件中,场景编辑区的起始坐标(`0,0`)点位于两条红线交叉的中心点。与UI文件的左上角有所不同,大家需要注意。 ### ### 1.2 创建一个位移的时间轴动画 ##...
来源: Laya2.0_文档 发布时间: 20210715
...类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...
来源: Laya2.0_api 发布时间: 20190513
...ocument.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(iframe); } } new...
来源: Laya2.0_文档 发布时间: 20210715
...ocument.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.body.appendChild(iframe); } } } ``` ...
来源: Laya2.0_文档 发布时间: 20210715
... 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