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

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

41. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 52%]

...der:URLLoader = new URLLoader();         loader.addEventListener(Event.COMPLETE, onConfigLoaded);         loader.load( new URLRequest(".dev") );     }       private function onConfigLoaded(evt:Event):void     {         var params:URLVariables = new URLVariables();         para...

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

42. laya.display.AnimationBase [ 52%]

...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...

来源: Laya2.0_api 发布时间: 20190513

43. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 52%]

...TempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton....

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

44. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 46%]

...   this.templet.loadAni(this.aniPath);         this.templet.on(Event.COMPLETE, this, this.parseComplete);         this.templet.on(Event.ERROR, this, this.onError);     }     parseComplete() {         this.skeleton = this.templet.buildArmature();         Laya.stage.addChild(this....

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

45. laya.ui.FrameClip [ 45%]

...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...

来源: laya_api 发布时间: 20170422

46. laya.particle.Particle2D [ 42%]

...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...

来源: laya_api 发布时间: 20170929

47. laya.particle.Particle2D [ 41%]

...load(url:String):void 加载粒子文件 Particle2D loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...

来源: Laya2.0_api 发布时间: 20190513

48. laya.display.FrameAnimation [ 41%]

...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...

来源: laya_api 发布时间: 20170929

49. laya.display.FrameAnimation [ 40%]

...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...

来源: Laya2.0_api 发布时间: 20190513

50. laya.spine.SpineSkeleton_API3.0 [ 36%]

...点 Parameters node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一...

来源: Laya3.0_api 发布时间: 20231115