大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0078 秒)
Laya_社区(739) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移...
来源: Laya2.0_文档 发布时间: 20210715
...载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移...
来源: Laya2.0_文档 发布时间: 20210715
...: Laya.Scene3D.load("LayaScene_game_scene/Conventional/game_scene.ls",Laya.Handler.create(this,function (scene) { Laya.stage.addChild(scene); } 我这样导入场景,不new相机,就是在unity运行时什么样LayaBox运行也什么样 如果你在Laya中又重新new了相...
来源: Laya_社区 发布时间: 20190430
...量加载json文件,然后等这些文件统一加载完后回调 Laya.Handler.create 加载图片回调参数问题 Dialog限制拖动区域有什么方法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 问题状态 最新活动: 2017-08-14 14:02 浏览: 942 关注: 2 人
来源: Laya_社区 发布时间: 20170814
...用 Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoaded方法中无法获取采用相对布...
来源: Laya_社区 发布时间: 20170720
...oader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; panel.width=300; panel.height=300; Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20161103
...aya.loader.load([{ url: "res/ui/LoadProgress.fui", type: Loader.BUFFER }], Handler.create(this, this.loadProgress)) this.token = token; } public loadProgress() { this.progressUI = UIBase.create(LoadProgress.UI_LoadProgress, "LoadProgress", LoadProgress.LoadProgressBinder.bindAll) this.progressUI.UIM...
来源: Laya_社区 发布时间: 20171204
...erial(); //加载纹理 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
... at LayaUISample.__proto.onLoaded (LayaUISample.max.js:1135) at Handler.__proto.runWith (LayaUISample.max.js:701) at ResInfo.loadComplete (LayaUISample.max.js:18073) at EventHandler.__proto.runWith (LayaUISample.max.js:702) at ResInfo.__proto.event (LayaUISample.max.js:4...
来源: Laya_社区 发布时间: 20180725
...ya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMo...
来源: Laya2.0_文档 发布时间: 20210715