大约有 195 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya3.0_api(61) Laya2.0_api(57) laya_api(49) Laya_社区(12) Laya2.0_文档(8) Laya3.0_文档(6) Laya2.0_示例(1) Laya_示例(1)
...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
...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
...那个tiledMap的问题也不是最终的解决方案,那个方案是要更改layabox的源码 gls_laybox • 2018-01-04 11:39 其实就是想问下我这样写有什么问题?怎么改? qian • 2018-01-04 11:43 继承不分自己的类还是引擎的类 都是用class继承的 gls_laybox •...
来源: Laya_社区 发布时间: 20180104
...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
...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
...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
...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoPlay : Boolean 表示是否自动播放动画,若自动播放值为true,否...
来源: laya_api 发布时间: 20170929
...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
...率越高,渲染压力越大,越费电,合理使用帧率甚至动态更改帧率有利于改进手机耗电。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alignH : String 水平对齐方式。默认值为"left"。 取值范围: ...
来源: laya_api 发布时间: 20170929
...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false ...
来源: laya_api 发布时间: 20170929