大约有 92 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...shader应用到spine骨骼动画上? 因为webgl下spine动画不支持颜色滤镜,因此只好尝试自定义shader去实现变灰和逐步透明消失的效果。 官方文档里讲解了自己派生sprite类,然后重写customrender函数来应用自定义的shader,因此我自己实现...
来源: Laya_社区 发布时间: 20180514
... Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示...
来源: laya_api 发布时间: 20170929
... Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHie...
来源: Laya2.0_api 发布时间: 20190513
... ```javascript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBox"字符串总宽度 var w = 800; //文本创建的起始x位置(>>在此使用右移运算符,相当于/2 用>>效...
来源: Laya2.0_文档 发布时间: 20210715
... constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 this.createTween(); } //创建缓动文本 private createTween():void{ //"LayaBox字符串总宽度" var w:number = 800; //文本创建的起始位置(>>在此使用...
来源: Laya2.0_文档 发布时间: 20210715
...ction TweenDemo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>在此...
来源: Laya2.0_文档 发布时间: 20210715
...拉列表的打开状态。 ComboBox itemColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox it...
来源: laya_api 发布时间: 20170929
...true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
...拉列表的打开状态。 ComboBox itemColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox it...
来源: Laya2.0_api 发布时间: 20190513
...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513