大约有 290 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0053 秒)
...r camera = scene.addChild(new Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera...
来源: Laya_社区 发布时间: 20170707
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; camera.addComponent(CameraMoveScript); var map=Laya.Sprite3D.load("H5/Main.lh");...
来源: Laya_社区 发布时间: 20170515
...camera = scene.addChild(new Laya.Camera(0, 0.1, 0)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 20)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = new Laya.Vector4(0.2, 0.2, 0.2, 1.0); var directionLight = scene.addChild(new Laya.Direct...
来源: Laya_社区 发布时间: 20220815
...= scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box0.transform.position=new Laya.Vector3(1,0,0); var box1= scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box1.transform.position=new Laya.Vector3(-1,0,0); 建立了2快板,显示如下: 我建了box0和...
来源: Laya_社区 发布时间: 20181214
...cene()); 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); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh...
来源: Laya_社区 发布时间: 20180614
...his.scene.ambientColor = new Laya.Vector3(1, 1, 1); camera.transform.translate(new Laya.Vector3(0,0.8,1.5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); // var camera:Laya.Camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)) as...
来源: Laya_社区 发布时间: 20190531
...sics.rayCast(this.ray,this.outHitInfo,5)); //更新角色位置 this.owner.transform.translate(new Laya.Vector3(speedX,0,speedZ),false); //播放行走动画 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...
来源: Laya_社区 发布时间: 20180118
...lugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:24927:5) at Object.transform (E:\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:26760:17) at Promise.resolve.then (E:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:15768:25) ...
来源: Laya_社区 发布时间: 20191227
... camera:Camera=(scene.addChild(new Camera(0, 0.1, 100))) as Camera; camera.transform.translate(new Vector3(0, 3, 6)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); camera.clearColor=null; camera.addComponent(CameraMoveScript); CameraStat.show(camera, 200, 0); //添加方向光 var di...
来源: Laya_社区 发布时间: 20170331
...ht; this.loadCCDlight.color = new Laya.Vector3(1, 1, 1); this.loadCCDlight.transform.position = new Laya.Vector3(-1, 1.2, 0.0); this.loadCCDlight.direction = new Laya.Vector3(0.15, -1.0, 0.0); this.loadCCDlight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); this.loadCCDlight.range = 6.0; this.loadCC...
来源: Laya_社区 发布时间: 20180515