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

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

351. laya.ui.VScrollBar_API3.0 [ 31%]

....utils.Handler; class VScrollBar_Example { private vScrollBar: VScrollBar; constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "res...

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

352. 预制体模块 · LayaAir3文档 · LAYABOX [ 31%]

...er : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resources/Title.lh").then( (res)=>{ //创建预制体 let label: Laya.Label = res.create(); //添加预制体Label字体到box节点下...

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

353. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 30%]

...er : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resources/Title.lh").then( (res)=>{ //创建预制体 let label: Laya.Label = res.create(); //添加预制体Label字体到box节点下...

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

354. laya.ui.Panel_API3.0 [ 30%]

...el Class Panel Panel 是一个面板容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgCo...

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

355. laya.ui.OpenDataContextView_API3.0 [ 30%]

...式显示开放域数据 Hierarchy UIComponent OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendM...

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

356. laya.ui.VSlider_API3.0 [ 30%]

...er = laya.utils.Handler; class VSlider_Example { private vSlider: VSlider; constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(thi...

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

357. laya.ui.TipManager_API3.0 [ 30%]

...ss TipManager 鼠标提示管理类 Hierarchy UIComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet ...

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

358. laya.ui.RadioGroup_API3.0 [ 30%]

...adioGroup; import Handler = laya.utils.Handler; class RadioGroup_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, this.onLoadComplete));//加载...

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

359. laya.ui.VBox_API3.0 [ 30%]

...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 Accessors _isHeightSet _isWidthSet active activeInHi...

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

360. laya.ui.HBox_API3.0 [ 30%]

...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 _isHeightSet _isWidthSet active activeInHierarchy ali...

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