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

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

141. laya.ui.HScrollBar_API3.0 [ 62%]

...r:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.p...

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

142. laya.ui.VScrollBar_API3.0 [ 62%]

...r:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 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

143. laya.ui.TextArea_API3.0 [ 62%]

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

144. laya.ui.Slider_API3.0 [ 62%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 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

145. laya.ui.Panel_API3.0 [ 62%]

...Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from ...

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

146. laya.ui.ComboBox_API3.0 [ 62%]

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

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

147. laya.ani.bone.Skeleton [ 62%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

148. laya.ui.ScaleBox_API3.0 [ 62%]

...s "laya/ui/ScaleBox" ScaleBox Class ScaleBox 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTest...

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

149. laya.ui.Box_API3.0 [ 62%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 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

150. laya.ui.ViewStack_API3.0 [ 62%]

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