大约有 976 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(508) Laya2.0_示例(94) Laya_示例(89) Laya2.0_文档(88) Laya3.0_api(63) Laya2.0_api(58) laya_api(54) Laya3.0_文档(22)
...ist.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.repeatY) / 2 - 100; list.y = (Laya.stage.height - HEI ) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.rend...
来源: Laya_社区 发布时间: 20170627
...height<100){ var bgImg = new Laya.Sprite(); bgImg.loadImage(data); Laya.stage.addChild(bgImg) }else{ console.log("图片超标"+width+"--"+height); } }; img.src =data; } }; 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190129
...来自: Laya.init(750, 1624, Laya.WebGL); //适配模式 宽度100% Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE;你用上面这个方式 把高度写大一点 就没有触摸点击不对的问题了 因...
来源: Laya_社区 发布时间: 20180718
...设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像...
来源: Laya2.0_api 发布时间: 20190513
... -1; constructor() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = new SpineTempletBinary(); this.templet.loadAni(this.aniPath...
来源: Laya2.0_文档 发布时间: 20210715
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...
来源: Laya3.0_api 发布时间: 20231115
...mg src='head3.png' style='width:100px;height:100px'></img>"; Laya.stage.addChild(html);用style下的width和height就好了! 2017-03-29 0 0 分享 微博 QZONE 微信 liukaijv 赞同来自: 我也遇到了同样的问题,改成style模式,在web下行了,但在ios原生又有问题...
来源: Laya_社区 发布时间: 20170329
...,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度...
来源: laya_api 发布时间: 20170929
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...
来源: Laya3.0_api 发布时间: 20231115
...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node drawImageNum : int = 0当前GRID包含多少个TILE(包含动画)GridSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite glo...
来源: laya_api 发布时间: 20170929