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

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

371. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 18%]

...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

372. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 18%]

...不到或不小心关掉了,可以按快捷键`F3`恢复为默认面板布局。 - 在`.ani`文件中,场景编辑区的起始坐标(`0,0`)点位于两条红线交叉的中心点。与UI文件的左上角有所不同,大家需要注意。 ### ### 1.2 创建一个位移的时间轴动画 ##...

来源: Laya2.0_文档 发布时间: 20210715

373. laya.ui.View [ 18%]

...类,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

374. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 17%]

...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

375. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 15%]

...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

376. 纹理资源 · LayaAir3.4 · 引擎文档 · LAYABOX [ 15%]

... sizeGrid 九宫格(SizeGrid) 是一种用于 可拉伸 UI 纹理 的布局技术。 通过将纹理分割为九个区域,可以在拉伸 UI 控件尺寸时,保持四个角不变形,仅中间与边缘部分被平滑拉伸。 这种方式常用于按钮、面板、输入框、气泡框等...

来源: Laya3.0_文档 发布时间: 20251128

377. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 15%]

...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

378. laya.display.Stage_API3.0 [ 14%]

...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

379. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 10%]

...能使用引擎的对象。 IEditor.inspectorLayout注册了一个编辑器布局,第一个参数指定是选择资源时会触发(如果是“node”,则是选定场景节点时会触发)。IEditor.MetaDataInspectorLayout是一个典型的从meta文件读取数据和写入数据到meta文...

来源: Laya3.0_文档 发布时间: 20251010

380. laya.ui.LayoutBox_API3.0 [ 7%]

...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