大约有 283 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
...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
...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
...进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseE...
来源: laya_api 发布时间: 20170929
...y alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoPlay : Boolean 表示是否自动播放动画,若自动播放值为true,否...
来源: laya_api 发布时间: 20170929
...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
...窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在...
来源: Laya2.0_api 发布时间: 20190513
...1 localRotationEuler和rotationEuler 都试过;包括scale值都也不能更改,是什么原因? liuhang123 • 2017-12-27 17:54 我发现,在动画播放过程中不能改,动画停止后是可以更改,是什么原因? 伐木工人 • 2017-12-27 18:42 @liuhang123:我也不清楚原...
来源: Laya_社区 发布时间: 20171227
...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 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 autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘...
来源: laya_api 发布时间: 20170929