大约有 693 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0092 秒)
Laya_社区(374) Laya_示例(132) Laya2.0_示例(116) Laya2.0_文档(65) Laya3.0_api(2) Laya3.0_文档(2) laya_api(1) Laya2.0_api(1)
... LayaAir3D() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var layaMonkey = scene.ad...
来源: Laya_社区 发布时间: 20180116
720 全景图 手指滑动 滑动距离 Laya3D.init(0,0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); scene.shadingMode = Laya.BaseScene.VERTEX_SHADING; var camera = scene.add...
来源: Laya_社区 发布时间: 20170515
...Laya.stage.alignH = Stage.ALIGN_CENTER; // Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on("click", this, this.onStageClick); } private create...
来源: Laya_社区 发布时间: 20201230
...teraction_Scale { constructor() { Laya3D.init(640, 1136, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.scene.addChild(new Laya.Camera()) as Laya.Camera; this.camera.transform.position = n...
来源: Laya_社区 发布时间: 20170321
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createLabel("#FFFFFF", null).pos(30, 50); this.createLabel("#00FFFF", null).pos(290, 50); this.createLabel("#FFFF00...
来源: Laya_社区 发布时间: 20180529
...curPathIndex = 0; this.nextPathIndex = 1; this.pointCount = 10; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.path = new Array(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/TerrainScene/XunLongShi...
来源: Laya_示例 发布时间: 20241118
....stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var gap: numb...
来源: Laya_社区 发布时间: 20201203
...e.ALIGN_MIDDLE; fairygui.UIConfig.defaultFont = "微软雅黑"; Laya.stage.scaleMode = Stage.SCALE_FIXED_WIDTH; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; //设置横竖屏 Laya.stage.bgColor = "#232628"; // Laya.stage.frameRate = "show"; //注册扩展时需要用到的类 /**初始化顶层游...
来源: Laya_社区 发布时间: 20180226
... //初始化引擎 //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //添加3D场景 var scene = Laya.stage.add...
来源: Laya_社区 发布时间: 20180427
...ya.init(1024, 768); //Stat.show(); Laya.stage.bgColor = "#ccc"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; StageReferance.setup(Laya.stage); init(); } private function init():void { _view = new Sprite(); var points:Arra...
来源: Laya_社区 发布时间: 20180319