大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...lear release setFilters setValue updateShaderData upload __init__ _initone create Constructors constructor new ParticleShaderValue(): ParticleShaderValue Overrides Value2D.constructor Defined in laya/particle/shader/value/ParticleShaderValue.ts:28 Returns ParticleShaderValue Properties ALPHA ALPHA: ...
来源: Laya3.0_api 发布时间: 20231115
...使用Laya.Sprite3D.load可以加载使用,但是当我使用Laya.loader.create,能加载出来,但是无法正常使用,会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下: Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadCo...
来源: Laya_社区 发布时间: 20200313
...ya.stage.bgColor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this._testTip=new TestTipsUI();//务必在Laya.init后去new实例,不可直接在全局变量处实例化 //切记,无论何种鼠标提示方...
来源: Laya_社区 发布时间: 20161115
..., -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/liz...
来源: Laya_示例 发布时间: 20251209
...er.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.UIMenu.valu...
来源: Laya_社区 发布时间: 20171204
...如何带参数? Tween.to(sp, {x:_x, y:_y, alpha:1}, 1000, null, Handler.create(This, function(){ sp.destroy(); }), 500); 这样写sp并不能被销毁,请问laya里沒有onCompleteParams方法吗? 2017-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170608
...src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如果内容需要重画,Rend...
来源: Laya_社区 发布时间: 20210527
...场景报错 Laya.loader.load("LayaScene_04_laya/04_laya.ls",Laya.Handler.create(this,this.on3DComplete)); 在load3D资源后分别用两种方法实例化场景报错 //1.实例化场景 that.scene = Laya.loader.getRes("LayaScene_04_laya/04_laya.ls") as Laya.Scene3D; Laya.stage.addChild(that.sce...
来源: Laya_社区 发布时间: 20190624
... 骨骼动画播放完后的回调时间 ios原生回调问题 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试...
来源: Laya_社区 发布时间: 20180323
...y Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new PrefabImpl(api: IHierarchyParserAPI, data: any, versi...
来源: Laya3.0_api 发布时间: 20231115