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

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

521. UI-List [ 63%]

...temRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandle...

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

522. UI-List [ 63%]

...temRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = n...

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

523. 骨骼动画-藤蔓 [ 63%]

....Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } ...

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

524. 缓动-逐字缓动 [ 63%]

... Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() {...

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

525. 骨骼动画-橡胶人 [ 63%]

....Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } ...

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

526. laya.display.Animation [ 62%]

...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...

来源: laya_api 发布时间: 20170929

527. WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 [ 62%]

...烁  this.mapBg = new Laya.Sprite(); this.mapBg.name = "map"; this.mapBg.width = GameMain._width; this.mapBg.height = GameMain._height; this.mapBg.x = 0; this.mapBg.y = 0; this.mapBg.graphics.fillTexture(texture, 0, 0, GameMain._width, GameMain._height); this.map.addChild(this.mapBg);    问题...

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

528. laya.display.Input [ 62%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  editable : Boolean 是否可编辑。 Input filters : Array滤镜集合。可以设置多个滤镜组合...

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

529. this.bitmap.activeResource is not a function [ 62%]

...域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.height); if(this._openZone.parent) return; console.log("打开开放域",Laya.Browser.onMiniGame) Laya.stage.addChild(this._openZone); this._openZone.x = vx; this._openZone.y = vy; if(Laya.Browser.onMiniGame){ ...

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

530. 用LayaAir引擎解析Tiled Map地图(TypeScript-2D进阶篇(TS)-扩展模块) [ 62%]

...ap:Laya.TiledMap; constructor() { //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.create...

来源: Laya2.0_文档 发布时间: 20210715