大约有 725 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0046 秒)
Laya_社区(261) Laya2.0_api(166) laya_api(138) Laya_示例(61) Laya2.0_示例(53) Laya2.0_文档(28) Laya3.0_api(9) Laya3.0_文档(9)
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res/SampleScene.ls', Laya.Handler.create(null, function(scene1){ let scene = Laya.stage.addChild(scene1); Laya.Sprite3D.load("/1/res/SampleScene.lh", Laya.Handler.create(null, function(sp) { //le...
来源: Laya_社区 发布时间: 20200611
... } }); button.show(); 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 天蝎の尾巴 • 2019-03-14 15:03 问题...
来源: Laya_社区 发布时间: 20190109
....SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //添加场景 var scene = Laya.Scene.load("res/scene/LayaScene_cz1/cz1.ls"); Laya.stage.addChild(scene); } } new LayaAir3D(); 2017-12-05 0 0 分享 微博 QZ...
来源: Laya_社区 发布时间: 20171205
...0, 1136, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.scene.addChild(new Laya.Camera()) as Laya.Camera; this.camera.transform.position = new Laya.Vector3(0, 0, 5); this.camera.transform....
来源: Laya_社区 发布时间: 20170321
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.path = new Array(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/TerrainScene/XunLongShi.ls", clas: Laya.Scene, priority: 1 }, { url: "../../res/threeDimen/skinModel/LayaMonkey/Laya...
来源: Laya_示例 发布时间: 20260106
... // 监听全局事件 Laya.stage.on("DIALOG_SHOW", this, this.disable); Laya.stage.on("DIALOG_HIDE", this, this.enable); } onDestroy() { // 移除事件监听 Laya.stage.off("DIALOG_SHOW", this, this.disable); ...
来源: Laya_社区 发布时间: 20251125
...true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillProcess(MainActivity.this); int pid = android.os.Proce...
来源: Laya_社区 发布时间: 20170518
...ollBarlaya.ui.HScrollBarPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY ...
来源: laya_api 发布时间: 20170929
...继续播放。 提供一个测试Demo:Laya.init(1000, 800); Laya.Stat.show(0,0); var video_url = '带有音轨的视频'; Laya.loader.load([{url: video_url, type: Laya.Loader.BUFFER }], Laya.Handler.create(this, createVideo)); var v; function createVideo() { var video_file = new Blob([Laya.loader...
来源: Laya_社区 发布时间: 20170515
...tatic] [read-only] AcceleratorPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Accelerator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):...
来源: laya_api 发布时间: 20170929