大约有 580 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(220) Laya3.0_api(192) Laya2.0_api(58) laya_api(53) Laya2.0_文档(26) Laya3.0_文档(17) Laya2.0_示例(8) Laya_示例(6)
... list.itemRender = Item; list.x = 15; list.y = 60; list.height = 470; list.width = 542; list.spaceY = 20; list.vScrollBarSkin = ""; list.repeatX = 1; list.repeatY = 10; list.selectEnable = false; list.renderHandler = new Handler(this, function(cell, index) { cell.setImg(cell.dataSource); }); this.ro...
来源: Laya_社区 发布时间: 20170920
...寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度值。 Line Color:绘制矩形的边框颜色。 Fill Color:矩形填充的颜色。 动图2-2演示了这些属性的操作过程: (动图2-2) 2.2 代码绘制矩形 LayaAir引擎...
来源: Laya3.0_文档 发布时间: 20251010
...: let point = { x: collider.owner.x - collider.width * 0.5 * local.x, y: collider.owner.y - collider.height * 0.5 * local.y } 2021-01-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 176**...
来源: Laya_社区 发布时间: 20201114
...Storage supportWebAudio userAgent Accessors _isMiniGame clientHeight clientWidth container document height pixelRatio width window Methods createElement getElementById getQueryString now removeElement Properties Static PLATFORM_ANDROID PLATFORM_ANDROID: number = 1 Defined in laya/utils/Browser.ts:71...
来源: Laya3.0_api 发布时间: 20231115
...og("map create ..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-...
来源: Laya_社区 发布时间: 20190102
...window.sharedCanvas); rankSpr.graphics.drawTexture(rankTex, 5, 78, rankTex.width, rankTex.height); 排行的所有逻辑都是在子域项目里做的是吗,那如何从排行榜返回主游戏界面呢?子域应该是不能去调主域程序的吧。 2018-08-30 0 2 分享 微博 QZONE 微信 La...
来源: Laya_社区 发布时间: 20180828
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...() { /** * 背景类 * */ function Background(){ //图片的宽度 this.BG_WIDTH = 1600; //记录当前移动的值 this.moveX = 0; //定义背景1 this.bg1 = null; //定义背景2 this.bg2 = null; //草堆 this.grass = null; Background.__super.call(this); this.init(); } //Background 是一个显示...
来源: Laya_社区 发布时间: 20160722
...temRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 设置List的垂直滚动 list.scrollType = Laya.ScrollType.Vertical; // 设置List的垂直滚动皮肤,不设置或者""就没有滚动...
来源: Laya3.0_文档 发布时间: 20251010
...atas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public loadMainDatas() { Laya.loader.load([ { url: "res/ui/UIComponents@atlas0.png", type: Loader.IMAGE }, { url: "res/ui/UIComponents.fui", type: Loader.BUFFER }, { url: "res/ui/FastBet.f...
来源: Laya_社区 发布时间: 20171204