大约有 270 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
Laya_社区(150) Laya2.0_文档(58) Laya_示例(40) Laya3.0_文档(10) Laya3.0_api(5) laya_api(4) Laya2.0_api(3)
...is.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(CameraMoveScript); //加载猴子 this.layaMonkey = this.scene.addChild(Laya.Sp...
来源: Laya_示例 发布时间: 20241118
...; 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.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.V...
来源: Laya_示例 发布时间: 20241118
...e()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); s...
来源: Laya_示例 发布时间: 20241118
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var particleSprite3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Burning_Ground.lh...
来源: Laya_示例 发布时间: 20241118
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var particleSprite3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Eternal_Light.lh"...
来源: Laya_示例 发布时间: 20241118
... var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = this.scene.addChild(new Laya.DirectionLight())...
来源: Laya_示例 发布时间: 20241118
...响。 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clear...
来源: Laya_社区 发布时间: 20170504
...void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.position, _up); } else if (index % 3 === 2){ //摄像机捕捉模型目标 camera.transform.lookAt(cylinder.transform.position, _up); } else{ //摄像机捕捉模型目标 camera.transform.lookA...
来源: Laya2.0_文档 发布时间: 20210714
...x++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.cylinder.transform.position, this._up); } else{ //摄像机捕捉模...
来源: Laya2.0_文档 发布时间: 20210715
...x++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.cylinder.transform.position, this._up); } else{ //摄像机捕捉模...
来源: Laya2.0_文档 发布时间: 20210715