大约有 563 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(159) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(22) Laya3.0_文档(22) Laya2.0_示例(3) Laya_示例(3)
...chy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...
来源: Laya2.0_api 发布时间: 20190513
... 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数组类型,指定了一组要加载的资源,如果全部加载成功,则回调参...
来源: Laya_社区 发布时间: 20170804
...获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent c...
来源: Laya2.0_api 发布时间: 20190513
... bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...
来源: laya_api 发布时间: 20170929
...//创建视频纹理并将其应用到Sprite3D上 private createVideo(url: string): void { //设置纹理的路径 this.videoTexture.source = url; //开始播放视频 this.videoTexture.play(); //设置纹理的播放模式为循环播放 this.videoTexture.loop = true; //创建一个不受光材质 ...
来源: Laya3.0_文档 发布时间: 20251010
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...
来源: laya_api 发布时间: 20170929
...化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } } new LayaUISample; ``` 通过dat...
来源: Laya2.0_文档 发布时间: 20210715
...bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...
来源: laya_api 发布时间: 20170929
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...
来源: Laya2.0_api 发布时间: 20190513