大约有 578 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0044 秒)
Laya_社区(391) Laya2.0_文档(96) Laya_示例(44) Laya3.0_api(18) Laya3.0_文档(14) laya_api(8) Laya2.0_api(7)
var camera :Laya.Camera=new Laya.Camera(viewport, Math.PI/3,0,0.1,1000); Camera的参数只能是数值吗,传入viewport 和 Math.PI/3 会报错 2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuix...
来源: Laya_社区 发布时间: 20170513
....Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera1 = scene.addChild(new Laya.Camera( 0, 0.1, 100)); camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); camera1.normalizedViewport = new Laya.Viewport(0, 0...
来源: 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.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); came...
来源: 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.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); came...
来源: Laya_示例 发布时间: 20241117
...ddChild(Laya.Scene.load("../../res/threeDimen/scene/Arena/Arena.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 0)); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyB...
来源: Laya_示例 发布时间: 20241117
...ene3D = Laya.stage.addChild(new Scene3D()) as Scene3D; //创建相机1 var camera1:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; //设置相机1清除颜色 camera1.clearColor = new Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Vector3(0, 0, 1.5)); //设置裁剪空间...
来源: Laya2.0_文档 发布时间: 20210715
... var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); //设置裁剪空间的...
来源: Laya2.0_文档 发布时间: 20210715
... var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); //设置裁剪空间的...
来源: Laya2.0_文档 发布时间: 20210715
...Laya.Scene.load("../../res/threeDimen/scene/particle/Example_01.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)) ; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript);class Particle_Scene { constructor() { Laya3D.init(0, 0, true); Laya.stage.s...
来源: Laya_示例 发布时间: 20241117
.../background.jpg")); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(5, -10, 500)); camera.orthographic = true; //正交投影...
来源: Laya_示例 发布时间: 20241117