大约有 169 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0048 秒)
...ene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(...
来源: Laya_示例 发布时间: 20241124
...me = "camera"; //相机平移位置 camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); //旋转相机 camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 ...
来源: Laya_社区 发布时间: 20190605
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Laya...
来源: Laya_示例 发布时间: 20241124
...响。 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
...= scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new...
来源: Laya_社区 发布时间: 20180820
...(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //方向光 var directionLight = new Laya.Dire...
来源: Laya_社区 发布时间: 20201120
...ra = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamer...
来源: Laya_社区 发布时间: 20201127
...exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{ private scene:Laya.Scene3D; private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotate:Laya.Vector3 = ne...
来源: Laya_社区 发布时间: 20190509
... { this.camera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆...
来源: Laya3.0_文档 发布时间: 20241014
...me = "camera"; //相机平移位置 camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); //旋转相机 camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 ...
来源: Laya_社区 发布时间: 20190531