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

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

61. laya.ui.Tab_API3.0 [ 34%]

... class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete()...

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

62. laya.ui.TextInput_API3.0 [ 32%]

...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...

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

63. laya.ui.ScaleBox [ 32%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

来源: Laya2.0_api 发布时间: 20190513

64. laya.ui.TextArea_API3.0 [ 32%]

...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

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

65. laya.display.Stage [ 31%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

来源: laya_api 发布时间: 20170929

66. laya.ui.VBox [ 31%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

67. laya.display.Input_API3.0 [ 31%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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

68. laya.ui.HBox [ 31%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

69. laya.ui.ViewStack_API3.0 [ 31%]

...ass ViewStack ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Hierarchy Box ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet activ...

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

70. laya.ui.List_API3.0 [ 31%]

..._Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

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