大约有 411 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)
Animation创建时无法获取高度 var roleAni = new Laya.Animation(); roleAni.loadImages( this.aniUrls( v1, v2, tip, frames ) ).play(); roleAni.pos(x,y); this.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> ...
来源: Laya_社区 发布时间: 20170824
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 x x: number = 0 Defined in laya/particle/ParticleTemplate2D.ts:42 y y: number = 0 Defi...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider....
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider....
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170422
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115