大约有 264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoHide : Boolean = false一个布尔值,指定...
来源: laya_api 发布时间: 20170929
...次设置,会报错! 如果是新建,且没有赋值的情况下(即默认生成的时候值是0,0,100,0)确实不会报错,但如果是已存在,比如先设置sp.getComponent(ChainCollider).points = "25,25,50,50";运行后,再改变值时(如果一次运行中连续赋值2次,是不...
来源: Laya_社区 发布时间: 20181130
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoHide : Boolean = false一个布尔值,指定...
来源: laya_api 发布时间: 20170929
...g 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
...lider 的 value 属性值。 Slider alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
...g 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
... //获取图片边界得到尺寸,然后把中心点放到中间,默认在左上角 var bounds:Rectangle = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.st...
来源: Laya_社区 发布时间: 20180725
... 然后遮罩的x = -1; 不光是遮罩 , 很多地方赋值0 都表示默认值 不会处理了 2020-06-03 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 美星 相关问题 两个对象new了一个相同的对象,调用第一个...
来源: Laya_社区 发布时间: 20200421
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929