• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 563 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)

441. laya.display.Text [ 58%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透...

来源: Laya2.0_api 发布时间: 20190513

442. laya.ui.AdvImage [ 58%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...

来源: Laya2.0_api 发布时间: 20190513

443. 关于Laya.loader.load和getRes的问题 [ 58%]

...  加载结束回调。根据url类型不同分为2种情况:1. urlString类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数组类型,指定了一组要加载的资源,如果全部加载成功,则回调参...

来源: Laya_社区 发布时间: 20170804

444. laya.ui.Box [ 58%]

...获取。设置为true,对性能有一定影响。 Sprite  bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent c...

来源: Laya2.0_api 发布时间: 20190513

445. laya.ui.ProgressBar [ 58%]

... bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...

来源: laya_api 发布时间: 20170929

446. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...//创建视频纹理并将其应用到Sprite3D上 private createVideo(url: string): void { //设置纹理的路径 this.videoTexture.source = url; //开始播放视频 this.videoTexture.play(); //设置纹理的播放模式为循环播放 this.videoTexture.loop = true; //创建一个不受光材质 ...

来源: Laya3.0_文档 发布时间: 20251010

447. laya.ui.TipManager [ 58%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

448. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 58%]

...化引擎 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

449. laya.ui.HSlider [ 58%]

...bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...

来源: laya_api 发布时间: 20170929

450. laya.ui.TipManager [ 58%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...

来源: Laya2.0_api 发布时间: 20190513