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

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

171. laya.ui.HScrollBar_API3.0 [ 51%]

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

172. laya.ui.VScrollBar_API3.0 [ 51%]

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

173. 分享:Dragonbones/Spine换肤操作 [ 51%]

....show();//舞台左上角显示帧频信息 Laya.stage.bgColor='#EEFFCC';//设置舞台背景色 Laya.stage.alignH='center';//水平居中对齐 Laya.stage.alignV='middle';//垂直居中对齐 Laya.stage.scaleMode='showall';//缩放模式 Laya.stage.screenMode='horizontal';//竖屏显示 templete=ne...

来源: Laya_社区 发布时间: 20170324

174. laya.display.Animation_API3.0 [ 51%]

...tion_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation...

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

175. laya.ui.Tree [ 50%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,...

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

176. laya.ui.Image_API3.0 [ 50%]

...载。 example 以下示例代码,创建了一个新 Image 实例,设置了它皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor...

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

177. laya.ui.Clip_API3.0 [ 50%]

...vate var clip:Clip; public function Clip_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类实例对...

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

178. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

...源面板里选择拖入一个 Label 组件,到编辑区界面里,设置 Label 属性 name 值为 m_label。另外再设置一下 Label 显示相关属性使它更好看一些。 ​ **b.**选中 Label 对象,使用快捷键 Ctrl +B 或选择 **菜单栏->编辑->转换为容器** 选...

来源: Laya2.0_文档 发布时间: 20210715

179. laya.ui.Panel [ 49%]

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

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

180. laya.ui.List [ 48%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

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