大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...D.load("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); })); 报错信息laya.d3.js:6573 Uncaught TypeError: Cannot set property 'x' of undefined ...
来源: Laya_社区 发布时间: 20200107
...类后 加入舞台时报错 示例代码: var div=Laya.HTMLCanvas.create=new HTMLCanvas("2D"); div.size(600,400); Laya.stage.addChild(div); console.log(div); var myChart = echarts.init(div.getCanvas()); // 指定图表的配置项和数据 var option = { title...
来源: Laya_社区 发布时间: 20180626
...ole出,那个list中的数据也存在,但没渲染出。 Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个...
来源: Laya_社区 发布时间: 20170321
...a.loader.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is n...
来源: Laya_社区 发布时间: 20181208
...LE; Laya.loader.load([{url:"image/comp.json", type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { createList(); createItems(); createLoading(); _list.addChild(_loadingBg); Laya.stage.addChild(_list); } protected function createList():void { _list = new List(); ...
来源: Laya_社区 发布时间: 20170323
...,400); Laya.loader.load([{url:"res/atlas/comp.json",type:"atlas"}],Handler.create(this,this.onLoadUi)); } __proto.onLoadUi=function(){ Laya.timer.loop(100,this,this.onLoaded); } __proto.onLoaded=function(){ if(this.isOpen){ return; } this.isOpen=true; var testView=new TestView(); Laya.stage.addChild...
来源: Laya_社区 发布时间: 20190517
...台卡住68% 如题,在微信上是ok的,不过在vivo上Laya.loader.create一直没有complete回调,也没有报错,但并不是全部vivo手机都是这样 快应用平台版本号:1060 2020-11-23 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20201123
... Function.ClassUtils.getInstance (laya.core.js:9634) at SceneLoader.create (laya.core.js:20746) at EventHandler.__proto.run (laya.core.js:1111) at SceneLoader.__proto.event (laya.core.js:882) at SceneLoader.__proto._checkNext (laya.core.js:15729) at SceneLoader.__p...
来源: Laya_社区 发布时间: 20181016
...o示例 为什么ani动画执行的不是按中心点执行的 Laya.loader.create 进度回调函数执行两次 【附上DEMO】使用2.0.1发布,在微信版本低于7.0.3的手机上会出现画面撕裂!! layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 ...
来源: Laya_社区 发布时间: 20190510
...00, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, La...
来源: Laya_社区 发布时间: 20171125