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

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

51. laya.ui.Image [ 67%]

...e alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pi...

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

52. laya.ui.View [ 66%]

...er ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node...

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

53. 请问laya中js如何继承自己写的类 [ 66%]

...那个tiledMap的问题也不是最终的解决方案,那个方案是要更改layabox的源码 gls_laybox • 2018-01-04 11:39 其实就是想问下我这样写有什么问题?怎么改? qian • 2018-01-04 11:43 继承不分自己的类还是引擎的类 都是用class继承的 gls_laybox •...

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

54. laya.ui.TextInput [ 66%]

...l alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pi...

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

55. 飞机大战出现的问题注册了类New的时候报错未定义 [ 66%]

...a.Sprite(); //加载并显示背景图 this.bg2.loadImage("war/bc.png"); //更改背景2,放在背景1的上面 this.bg2.pos(0,-852); //把背景2放在容器中 this.addChild(this.bg2);  //创建一个帧循环,更新容器位置 Laya.timer.frameLoop(1,this,this.onLoop); } //注册类 Laya.reg...

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

56. laya.ui.ScaleBox [ 66%]

...e alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pi...

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

57. laya.ui.Clip [ 65%]

...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  autoPlay : Boolean 表示是否自动播放动画,若自动播放值为true,否...

来源: laya_api 发布时间: 20170929

58. laya.ui.TextInput [ 65%]

...l alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword,...

来源: laya_api 发布时间: 20170929

59. laya.display.Stage [ 65%]

...率越高,渲染压力越大,越费电,合理使用帧率甚至动态更改帧率有利于改进手机耗电。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  alignH : String 水平对齐方式。默认值为"left"。 取值范围: ...

来源: laya_api 发布时间: 20170929

60. laya.ui.Button [ 65%]

...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false ...

来源: laya_api 发布时间: 20170929