大约有 44 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0026 秒)
....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.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya....
来源: Laya_示例 发布时间: 20241117
....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.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); came...
来源: Laya_示例 发布时间: 20241117
...ase.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube...
来源: Laya_示例 发布时间: 20241117
.../background.jpg")); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(5, -10, 500)); camera.orthographic = true; //正交投影...
来源: Laya_示例 发布时间: 20241117
...aded(envinfo, envpath) { var envinfoobj = Laya.loader.getRes(envinfo); var camera = new Laya.Camera(0, 0.1, 1000); if (envinfoobj.ev != undefined) camera._shaderValues.setValue(Laya.BaseCamera.HDREXPOSURE, Math.pow(2, envinfoobj.ev)); else camera._shaderValues.setValue(Laya.BaseCamera.HDREXPOSURE, M...
来源: Laya_示例 发布时间: 20241117
....Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6, 10)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var glitter = scene.addChild(new Laya.Glitter(...
来源: Laya_示例 发布时间: 20241117
...; 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.Vector3(0, 0.5, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFL...
来源: Laya_示例 发布时间: 20241117
...ar 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.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var direct...
来源: Laya_示例 发布时间: 20241117
...inScene/XunLongShi.ls")); //删除原始资源中包含的默认相机 var camera = this.scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.removeSelf(); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); c...
来源: Laya_示例 发布时间: 20241117
...ar 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.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var direct...
来源: Laya_示例 发布时间: 20241117