• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0078 秒)

741. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 59%]

...载拖尾 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

742. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 59%]

...载拖尾 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

743. laya里的相机镜头 与u3的插件里的不一致, [ 59%]

...: 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

744. Dialog用法——弹出回调 [ 59%]

...量加载json文件,然后等这些文件统一加载完后回调 Laya.Handler.create 加载图片回调参数问题 Dialog限制拖动区域有什么方法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 问题状态 最新活动: 2017-08-14 14:02 浏览: 942 关注: 2 人

来源: Laya_社区 发布时间: 20170814

745. UI界面加载有哪些回调方法可用 [ 59%]

...用 Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoaded方法中无法获取采用相对布...

来源: Laya_社区 发布时间: 20170720

746. Panel滚动条滑块位于最下方 [ 59%]

...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

747. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 59%]

...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

748. Unlit材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 59%]

...erial(); //加载纹理 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` ![](img/1.png)(图1)

来源: Laya2.0_文档 发布时间: 20210714

749. 关于纹理的显示问题 [ 59%]

...    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

750. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 59%]

...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