大约有 633 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0044 秒)
Laya_社区(410) Laya2.0_文档(126) Laya_示例(44) Laya3.0_文档(19) Laya3.0_api(19) laya_api(8) Laya2.0_api(7)
...建后期处理渲染上下文。 Public Properties PropertyDefined By camera : Camera = null 渲染相机。PostProcessRenderContext command : CommandBuffer = null 后期处理指令流。PostProcessRenderContext compositeDefineData : DefineDatas = null 合成着色器宏定义。PostProc...
来源: Laya2.0_api 发布时间: 20190513
...NONE; initShader(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.85, 1.7)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var...
来源: Laya_示例 发布时间: 20241124
... let scene_: Laya.Scene3D = new Laya.Scene3D(); let camera_: Laya.Camera = new Laya.Camera(); let spotLight_: Laya.SpotLight = new Laya.SpotLight(); let cube_: Laya.MeshSprite3D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(...
来源: Laya_社区 发布时间: 20200506
...t.show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.l...
来源: Laya_社区 发布时间: 20180305
... = 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, 10, 0)); camera.transform.rotate(new Vector3(-30, 0, 0), true, false); //添加地板 var floor:MeshSprite3D =...
来源: Laya_社区 发布时间: 20190417
...差不多这样的。 主要代码: //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(0, 0, 0), true, false); camera.clea...
来源: Laya_社区 发布时间: 20170718
...搜索按钮了。我都没法搜索问题啊 向目标点平滑移动 VRCamera使用中随camra视角的移动,部分模型会消失,回移镜头又重现了? 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算...
来源: Laya_社区 发布时间: 20180125
...Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.camera.sky = this.skyBox; this.skyBox.textureCube = Laya.TextureCub...
来源: Laya_社区 发布时间: 20170323
...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); camera.clearColor = null; //添加方向光 va...
来源: Laya2.0_文档 发布时间: 20210715
...cene3D = 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, 0.8, 1.5)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight:Direc...
来源: Laya2.0_文档 发布时间: 20210714