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

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

61. laya.d3.math.Vector2_API3.0 [ 89%]

...setValue(x: number, y: number): void Defined in laya/d3/math/Vector2.ts:31 设置xy。 Parameters x: number Xy: number Y。 Returns void toArray toArray(): Array<number> Defined in laya/d3/math/Vector2.ts:61 转换为Array数组 Returns Array<number> writeTo writeTo(array: F...

来源: Laya3.0_api 发布时间: 20231102

62. laya.ui.HScrollBar_API3.0 [ 89%]

...r:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.p...

来源: Laya3.0_api 发布时间: 20231115

63. laya.ui.VScrollBar_API3.0 [ 89%]

...r:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

来源: Laya3.0_api 发布时间: 20231115

64. laya.ui.VBox [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

65. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 89%]

...,默认使用百分比,也可以取消百分比勾选,采用像素设置。 Percent:当勾选时,矩形的尺寸为Sprite对象尺寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度。 Line Color:绘制矩形的边框颜色...

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

66. laya.ui.TipManager [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

67. laya.ui.Panel [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

68. laya.maths.Vector2_API3.0 [ 89%]

...e setValue(x: number, y: number): void Defined in laya/maths/Vector2.ts:33 设置xy。 Parameters x: number Xy: number Y。 Returns void toArray toArray(): Array<number> Defined in laya/maths/Vector2.ts:73 转换为Array数组 Returns Array<number> writeTo writeTo(array: Flo...

来源: Laya3.0_api 发布时间: 20231115

69. laya.ui.Box [ 89%]

...alpha会影响drawcall。Sprite anchorX : NumberX锚点,为0-1,设置anchorX最终通过pivotX来改变节点轴心点。UIComponent anchorY : NumberY锚点,为0-1,设置anchorY最终通过pivotY来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

70. laya.ui.RadioGroup [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929