大约有 278 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false ...
来源: laya_api 发布时间: 20170929
...y/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from Text.alpha Defined in laya/display/Sprite.ts:1030 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Parameters value:...
来源: Laya3.0_api 发布时间: 20231115
...y/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from Text.alpha Defined in laya/display/Sprite.ts:1030 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Parameters value:...
来源: Laya3.0_api 发布时间: 20231115
...e alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘...
来源: Laya2.0_api 发布时间: 20190513
...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoPlay : Boolean = true是否自动播放Particle2D autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会...
来源: laya_api 发布时间: 20170929
...如果输入网络版url,打的是网络版的资源包,那么还需要更改项目代码,才能变成网络版的项目。如果创建的项目是网络版,refreshres时必须输入url。如果输入新的地址,那么还要更改项目中设置url的代码,才能完成URL的替换。...
来源: Laya3.0_文档 发布时间: 20230303
...示背景图 this.bg2.loadImage("ui/BG/play-bg.png", 0, 0, 720, 5120); //更改背景2的位置,放在背景1的上边 this.bg1.pos(0, -3840); this.bg2.pos(0, -8960); //把背景图显示在容器内 this.addChild(this.bg2); //创建一个帧循环,更新容器的位置 Laya.timer.frameLoop(1, t...
来源: Laya_社区 发布时间: 20181105
...进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseE...
来源: Laya2.0_api 发布时间: 20190513
...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
...e alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘...
来源: Laya2.0_api 发布时间: 20190513