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

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

241. laya.ui.HSlider_API3.0 [ 18%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HS...

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

242. laya.ui.VSlider_API3.0 [ 18%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VS...

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

243. laya.ui.Clip_API3.0 [ 18%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 clip.aut...

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

244. laya.ui.Image_API3.0 [ 18%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,用于...

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

245. laya.ui.Dialog_API3.0 [ 18%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实...

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

246. 通用发布 · LayaAir3.0文档 · LAYABOX [ 17%]

...纹理格式: png32为默认格式,此格式支持透明度和更多的颜色;png24,无透明度;纹理压缩参考文档《纹理压缩》。 第三步:发布生成图集 当设置好后,在“构建发布”进行发布,等待发布成功,这时来看看发布后的目录,如...

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

247. laya.ui.ScaleBox_API3.0 [ 16%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

248. laya.ui.Box_API3.0 [ 16%]

...string set bgColor(value: string): void Defined in laya/ui/Box.ts:25 背景颜色 Returns string Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMode Defined in laya/display/...

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

249. laya.display.Stage_API3.0 [ 16%]

...r(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode(): strin...

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

250. laya.ui.Panel_API3.0 [ 16%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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