大约有 332 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya_社区(194) Laya2.0_文档(67) Laya_示例(44) Laya3.0_api(15) Laya3.0_文档(10) laya_api(1) Laya2.0_api(1)
... 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
...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
...ar 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, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/...
来源: Laya_示例 发布时间: 20241117
...Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene ...
来源: Laya_社区 发布时间: 20180820
... this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(new Laya.Vector3(0, 0.7, 5)); this.camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); } onEnable() { Laya.stage.on...
来源: Laya_社区 发布时间: 20200801
...后 出现了检测不到碰撞的问题 请问这个是什么原因 this.camera = scene.addChild(new Laya.Camera(0, 0.3, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 25, 16)); this.camera.transform.rotate(new Laya.Vector3(-56, 0, 0), true, false); 2018-10-15 添加评...
来源: Laya_社区 发布时间: 20181015
...); if(false) { eval(23) } console.log(wx.request) //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var direct...
来源: Laya_社区 发布时间: 20180104
...ld(new Laya.Scene3D()); //创建相机 let camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机的名称 camera.name = "camera"; //相机平移位置 camera.transform.translate(new Laya.V...
来源: Laya_社区 发布时间: 20190531
...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...
来源: Laya_社区 发布时间: 20190314