大约有 3 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0011 秒)
...("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); cam...
来源: Laya2.0_文档 发布时间: 20210715
...。 ```typescript //添加3D场景 var scene:Scene3D = Laya.stage.addChild(new Scene3D()) as Scene3D; //添加照相机 var camera:Camera = (scene.addChild(new Camera(0, 0.1, 100))) as Camera; camera.transform.translate(new Vector3(0, 3, 3)); camera.transform.rotate(new Vector3(-30, 0, 0), true, fal...
来源: Laya2.0_文档 发布时间: 20210714
...`typescript //添加3D场景 var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; //添加照相机 var camera: Laya.Camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(ne...
来源: Laya2.0_文档 发布时间: 20210714