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

大约有 59 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0026 秒)

1. UI-RadioGroup [ 100%]

...r Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 150; var X_OFFSET = 200; var Y_OFFSET = 200; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scale...

来源: Laya_示例 发布时间: 20240930

2. UI-RadioGroup [ 100%]

...开发语言、LayaAirIDE让项目开发更高效。let SPACING = 150, X_OFFSET = 200, Y_OFFSET = 200, skins; class UI_RadioGroup { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canva...

来源: Laya2.0_示例 发布时间: 20240930

3. laya.utils.TimeLine [ 98%]

... Show Inherited Public Methods MethodDefined By  addLabel(label:String, offset:Number):TimeLine 在时间队列中加入一个标签。 TimeLine  destroy():void 彻底销毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:O...

来源: laya_api 发布时间: 20170929

4. laya.utils.TimeLine [ 98%]

... Show Inherited Public Methods MethodDefined By  addLabel(label:String, offset:Number):TimeLine 在时间队列中加入一个标签。 TimeLine  destroy():void 彻底销毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:O...

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

5. UI-CheckBox [ 97%]

...T = 2, ROW_AMOUNT = 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas...

来源: Laya2.0_示例 发布时间: 20240930

6. 2D物理-仿生机器人 [ 97%]

...ndbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage...

来源: Laya2.0_示例 发布时间: 20240930

7. UI-CheckBox [ 97%]

...MOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleM...

来源: Laya_示例 发布时间: 20240930

8. Panel 的 滑动问题 [ 97%]

...elParent );   _putChild: function (parentName, path, col, row, cellSize, offset, scale)  { var root = this.getChildByName(parentName);        var cell = uiUtils.createSprite(path);       root.addChild(cell);        var offsetX = 0; var offsetY = 0;      if (offset != null) {     ...

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

9. laya.utils.TimeLine_API3.0 [ 96%]

...得到总帧数。 Returns number Methods addLabel addLabel(label: string, offset: number): TimeLine Defined in laya/utils/TimeLine.ts:122 在时间队列中加入一个标签。 Parameters label: string 标签名称。 offset: number 标签相对于上个动画的偏移时间(单位:毫秒)。 Re...

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

10. UI-Input [ 91%]

...GL; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SH...

来源: Laya_示例 发布时间: 20240930