大约有 298 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0036 秒)
Laya_社区(224) Laya_示例(49) Laya2.0_文档(14) Laya2.0_示例(6) Laya3.0_文档(2) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...e.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; ...
来源: Laya_社区 发布时间: 20181208
...戏的水平方向始终与浏览器屏幕较短边保持垂直 Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; 微信浏览器里这样设置后,home键一直会在右侧 微信浏览里有个手势,横屏时home在右侧的话,往上推就是关闭页面了 游戏里会用到这个手...
来源: Laya_社区 发布时间: 20180621
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Landscape"; text.color = "gray"; text.font = "Impact"; text.fontSiz...
来源: Laya_示例 发布时间: 20241118
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize =...
来源: Laya_示例 发布时间: 20241118
...e.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; ...
来源: Laya_社区 发布时间: 20181213
...e.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; ...
来源: Laya_社区 发布时间: 20181202
... GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.alignV = "top"; GameConfig.alignH = "left"; GameConfig.startScene = ""; GameConfig.sceneRoot = ""; GameConfig.debug = false; GameConfig.stat = false; GameConfig.physicsDebug = false; GameConfig...
来源: Laya_社区 发布时间: 20200104
...init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate...
来源: Laya_示例 发布时间: 20241118
...init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate...
来源: Laya_示例 发布时间: 20241118
...Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; this.showText(); } showText() { const Text = Laya.Text; let text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact";...
来源: Laya2.0_示例 发布时间: 20241118