大约有 3,680 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0089 秒)
Laya_社区(3202) Laya2.0_文档(154) Laya3.0_api(102) Laya2.0_api(82) Laya3.0_文档(71) Laya_示例(44) laya_api(25)
...reenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加...
来源: Laya_社区 发布时间: 20180919
...容: Uncaught TypeError: Cannot read property 'length' of null at Scene3D.__proto._activeHierarchy (laya.core.js:13721) at Scene3D.__proto._onAdded (laya.core.js:13770) at Scene3D.__proto._setParent (laya.core.js:13486) at Scene3D.__proto._setParent (laya.core.js:18511) ...
来源: Laya_社区 发布时间: 20190124
...refabsModel/hanbao.lh"); goldNode = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() *...
来源: Laya_社区 发布时间: 20200326
...must be resumed (or created) after a user gesture on the page. <URL> Scene.ts:402 Error loading Loading.ls: Error: unknown type 'xmaaYG8AQ1yC07pr_JvyPA' (anonymous) @ Scene.ts:402 Promise.then (async) load @ Scene.ts:395 open @ Scene.ts:441 (anonymous) @ index-142c5.js:62 Promise.then (async) ...
来源: Laya_社区 发布时间: 20240724
...REEN_NONE; //开启统计信息 Laya.Stat.show(); //添加3D场景 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, 3, 3)); camera.transform.rotate(new Laya.Vector3(-...
来源: Laya_社区 发布时间: 20180605
...ULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); 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.0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, f...
来源: Laya_社区 发布时间: 20170515
...(laya.core.js:13292) at new Sprite (laya.core.js:13871) at new Scene (laya.core.js:23721) at new GameMain (bundle.js:6) at Function.getCompInstance (laya.core.js:21214) at Function.createComp (laya.core.js:21081) at Function.createComp (laya.core.js:21111) a...
来源: Laya_社区 发布时间: 20201110
...; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambientColor = new Laya.Vector3(1, 1, 1); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camer...
来源: Laya_社区 发布时间: 20191112
...数值,球和地面都设置了弹力 TestScript2 onAwake this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCo...
来源: Laya_社区 发布时间: 20200512
...Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 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, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-1...
来源: Laya2.0_文档 发布时间: 20210714