大约有 309 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0167 秒)
...进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseE...
来源: 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
...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 alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false ...
来源: laya_api 发布时间: 20170929
...窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在...
来源: Laya2.0_api 发布时间: 20190513
...窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawc...
来源: laya_api 发布时间: 20170929
...值了。每次创建时候写其他的。那个值都会变。但是直接更改box._geometryFilter._sharedMesh._height无效。如果想要吧正方形拉成长方形。我应该怎么做呢。var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); // var _scale = new Lay...
来源: Laya_社区 发布时间: 20181213
...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
...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