大约有 908 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(457) Laya2.0_示例(91) Laya_示例(88) Laya2.0_文档(74) Laya3.0_api(63) Laya2.0_api(58) laya_api(54) Laya3.0_文档(23)
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...
来源: laya_api 发布时间: 20170929
...tage.addChild(Sprite) } 其他: Laya.init(Laya.Browser.width, Laya.Browser.height, Laya.WebGL);//Laya.WebGL Laya.stage.scaleMode = "showall"; Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; Laya.stage.useHDRendering = false; //高清 laya.utils.Stat.show(); //调试 图片: 其他: 内...
来源: Laya_社区 发布时间: 20171005
... nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture 的宽是 undefined,如果是带后缀的图片,比如.jpg就可以正常展示图片。 附件...
来源: Laya_社区 发布时间: 20211026
... Laya.stage.width = 1218; Laya.stage.height = 750; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; ...
来源: Laya_社区 发布时间: 20181213
...高度] this.aniFighter.pivot(512/2,304/2);//rectBounds.width/2,rectBounds.height/2); this.aniFighter.pos(Laya.stage.width/2,Laya.stage.height/2); iamnst • 2018-12-12 22:11 在编辑模式下,引入相关类库就可以了 狄 • 2018-11-30 16:47 请问有解决吗?我也遇到同样的问题...
来源: Laya_社区 发布时间: 20181023
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component editable : Boolean 设置可编辑状态。 T...
来源: laya_api 发布时间: 20170929
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage dra...
来源: Laya3.0_api 发布时间: 20231115
... Laya.stage.width = 1218; Laya.stage.height = 750; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; ...
来源: Laya_社区 发布时间: 20181202
...景 txt.bgColor = "#c30c30"; //设置文本的宽高 txt.width = 400; txt.height = 400; //设置文本水平居中 txt.align = "center"; //设置文本垂直居中 txt.valign = "middle"; Laya.stage.addChild(txt); } } } ```  在实际编码中如果需要其他的对齐模式,请参...
来源: Laya2.0_文档 发布时间: 20210715
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...
来源: Laya2.0_api 发布时间: 20190513