大约有 678 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(427) Laya2.0_文档(65) Laya3.0_api(61) Laya2.0_api(57) Laya_示例(44) Laya3.0_文档(20) laya_api(4)
...Stage.SCREEN_NODE; Laya.Stat.show(); // 加载插件导出的场景。 var scene = Laya.Scene.load('h5/3333d.ls'); Laya.stage.addChild( scene ); 附件 : --> 归档.zip 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20171227
... | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513
...er = 0.00006; protected camera: Laya.BaseCamera; protected scene: Laya.Scene3D; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) &...
来源: Laya_社区 发布时间: 20200707
...ode = Laya.Stage.SCREEN_NONE; //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 0...
来源: Laya_社区 发布时间: 20180119
...,Laya.Handler.create(this,this.LoadCompleteHandler)); 加载完成后: var scene3D:Laya.Scene3D = Laya.loader.getRes(this.mSceneName) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/Test...
来源: Laya_社区 发布时间: 20181031
...; this.tmpVector = new Laya.Vector3(0, 0, 0); this.scene = Laya.stage.addChild(new Laya.Scene3D()); //初始化照相机 let camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 6, 9.5))...
来源: Laya_社区 发布时间: 20201127
...te = Laya.Stage.FRAME_SLOW; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene3D()); Laya.timer.loop(1, this, this.loopfun); } loopfun(){ this.lastT = Date.now(); let dis = 1; if(!this.cu...
来源: Laya_社区 发布时间: 20200223
...lick3d extends Laya.Script3D{ constructor() { super(); //创建场景 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_社区 发布时间: 20200801
...| Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInH...
来源: Laya2.0_api 发布时间: 20190513
...e.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); //创建摄像机(纵横比,近距裁剪,远距裁剪) var camera:Laya.Camera = new Laya.Camera(0,0.1,100); //加载到场景 scene.addChild(camera); //移动摄像机位...
来源: Laya_社区 发布时间: 20180307