大约有 332 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0052 秒)
Laya_社区(194) Laya2.0_文档(67) Laya_示例(44) Laya3.0_api(15) Laya3.0_文档(10) laya_api(1) Laya2.0_api(1)
....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.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.Dir...
来源: Laya_示例 发布时间: 20241117
...e { import laya.d3.component.animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.RenderTexture; import...
来源: Laya_社区 发布时间: 20170209
... var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加3D场景 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); camera.addComponent(CameraMov...
来源: Laya_社区 发布时间: 20181203
...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
...aya.stage.addChild(new Laya.Scene3D()); //创建相机 var camera = new Laya.Camera(0, 0.1, 100); scene.addChild(camera); camera.name = "camera"; //this.scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; //this.scene.ambie...
来源: Laya_社区 发布时间: 20190531
...reeDimen/scene/ColliderScene/ColliderDemo.ls")); //初始化照相机 this.camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); this.camera.transform.translate(new Laya.Vector3(0, 6, 13)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.addComponent(CameraM...
来源: Laya_示例 发布时间: 20241117
... 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.Vector3(0, 0.6, 1.1)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var directionLight = this.scene.addCh...
来源: 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.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinM...
来源: Laya_示例 发布时间: 20241117
CameraMoveScript.as在哪儿下载群里的有错 public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OU...
来源: Laya_社区 发布时间: 20170218
...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