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

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

161. laya.display.Input [ 53%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用...

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

162. laya.ui.List_API3.0 [ 53%]

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

163. laya.ui.Tab_API3.0 [ 53%]

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

164. laya.ui.Slider_API3.0 [ 53%]

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

165. laya.ui.DialogManager_API3.0 [ 53%]

...和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors co...

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

166. laya.ui.FontClip_API3.0 [ 53%]

...p" FontClip Class FontClip 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontCli...

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

167. laya.display.Animation [ 53%]

...alpha值会影响drawcall。Sprite  autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画组成的动画集合,选择其中一个动画名称进行播放。 Animation  autoPlay : Boolean[write-only] 是否自动播放,默认为fal...

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

168. laya.physics.PhysicsDebugDraw_API3.0 [ 53%]

...w 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...

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

169. laya.ui.Radio_API3.0 [ 53%]

...如果节点需要加载相关的皮肤,但放在同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implementation of ISelect.autoSize Inherited from Text.autoSize D...

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

170. laya.ui.TextInput_API3.0 [ 53%]

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