大约有 473 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0073 秒)
...property } = Laya; @regClass() export class Script extends Laya.Script { //获取节点 @property(Laya.Sprite) public sp: Laya.Sprite; onAwake(): void { //创建后期处理实例 this.sp.postProcess = new Laya.PostProcess2D(); //创建变色效果 let colorEffect2D = new Laya.ColorEffect2D(); //创...
来源: Laya3.0_文档 发布时间: 20251010
...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 botto...
来源: laya_api 发布时间: 20170929
...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 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node allowClickBack : Boolean 一个布尔值,指定是否允许通过点击滑动条改变 Slider 的 value 属性...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获...
来源: laya_api 发布时间: 20170929
...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 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D componentsCount : int[read-only] 获得组件的数量。 Sprite3D depth : Number[read-only] 获取...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node allowClickBack : Boolean 一个布尔值,指定是否允许通过点击滑动条改变 Slider 的 value 属...
来源: Laya2.0_api 发布时间: 20190513