大约有 239 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
Laya_社区(158) Laya_示例(45) Laya2.0_文档(18) Laya3.0_文档(4) laya_api(4) Laya2.0_api(4) Laya3.0_api(3) Laya2.0_示例(3)
...高效。Laya3D.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, 5)); camera....
来源: Laya_示例 发布时间: 20241118
...高效。Laya3D.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, 0.5, 1)); camer...
来源: Laya_示例 发布时间: 20241118
...on = new Laya.Vector3(0, 0.01, 0); 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 camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vecto...
来源: Laya_示例 发布时间: 20241118
...el/dude/Assets/dude/upBodyS.png"]; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Lay...
来源: Laya_示例 发布时间: 20241118
...h, Browser.height, WebGL); Stat.show(); Laya.stage.scaleMode = Stage.SCALE_FULL; setup(); })(); function setup() { Laya.stage.on(Event.RESIZE, this, onResize); makeObject(0); for (var i = 0; i objs) { current = 0; } makeObject(current); } function makeObject(t) { var xd; var i; switch (t) { case 0: ...
来源: Laya_示例 发布时间: 20241118
...h, Browser.height, WebGL); Stat.show(); Laya.stage.scaleMode = Stage.SCALE_FULL; setup(); })(); function setup() { Laya.stage.on(Event.RESIZE, this, onResize); makeObject(0); for (var i = 0; i objs) { current = 0; } makeObject(current); } function makeObject(t) { var xd; var i; switch (t) { case 0: ...
来源: Laya2.0_示例 发布时间: 20241118
...Model/lizardCal/lizard_norm.png"]; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya...
来源: Laya_示例 发布时间: 20241118
...高效。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(Laya.Scene.load("../../res/threeDimen/scene/PBRMaterialScene/Showcase.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this,...
来源: Laya_示例 发布时间: 20241118
...高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; initShader(); 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, 0...
来源: Laya_示例 发布时间: 20241118
...exactfit的适配其实是失效了。这里建议你用fixedauto、或者full等无需考虑设计宽高,会自动改变stage宽高的适配模式,再结合一些其它适配方案来尝试一下。 比如, 就拿你上传的DEMO来讲,使用fixedauto、或者full适配模式后,将bg的t...
来源: Laya_社区 发布时间: 20180604