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

大约有 183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0105 秒)

171. laya.ui.VSlider_API3.0 [ 31%]

...戏画布宽高。 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

172. laya.ui.Clip_API3.0 [ 31%]

...戏画布宽高。 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

173. laya.ui.Image_API3.0 [ 31%]

...戏画布宽高。 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

174. laya.ui.Dialog_API3.0 [ 31%]

...、渲染模式。 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

175. laya.d3.shader.Shader3D_API3.0 [ 30%]

...mber = 8 Defined in laya/d3/shader/Shader3D.ts:33 渲染状态_混合常量颜色。 Static RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST: number = 3 Defined in laya/d3/shader/Shader3D.ts:23 渲染状态_混合目标。 Static RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLEND_DST_ALPHA: number = 7 Def...

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

176. laya.ui.ScaleBox_API3.0 [ 30%]

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

177. laya.ui.Box_API3.0 [ 30%]

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

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

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

179. laya.ui.LayoutBox_API3.0 [ 30%]

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

180. laya.ui.List [ 30%]

...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent  cacheAs : ...

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