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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

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

... SpineTempletBinary(); 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.ske...

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

882. unity导出粒子特效laya加载报错。 [ 69%]

...17)     at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:1934)     at EventHandler.__proto.runWith (laya.core.js:2062)     at Loader.__proto.event (laya.core.js:1818)     at Loader.__proto.complete (laya.core.js:23571)     at Loader.__proto.onLoaded (laya.core.js:23519)     at EventHand...

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

883. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 69%]

...(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 on 这个 函数了 .  要用什么代替啊?  2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

884. laya.d3.core.light.SpotLight [ 69%]

...l Classes | Index | Frames No Frames SpotLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited ...

来源: laya_api 发布时间: 20170929

885. laya.d3.core.light.LightSprite [ 69%]

...Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Pr...

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

886. 骨骼Label事件,多接收一次 [ 69%]

骨骼Label事件,多接收一次 看了骨骼里的事件数据eventAniArr只有一次,但我函数却收到了2次回调 附件 : --> 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来...

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

887. drawToTexture截大图有问题,会丢失 [ 69%]

...e;         Laya.stage.addChild(this.nsp);         this.nsp.on(Laya.Event.CLICK,this,this.drawImg,null)     }     drawImg(e:Event=null):void{         var copySpr:Laya.Sprite=new Laya.Sprite();         copySpr.texture=this.nsp.drawToTexture(1600,1600,0,0) as Laya.Texture;       ...

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

888. SpineSkeleton3.8.loadAni如果加载失败一定会引发LAYA底层报错 [ 69%]

...f (this.assetManager.hasErrors()) {                 this.event(Laya.Event.ERROR, "load failed:" + this.assetManager.getErrors());                 return;             }             Laya.Laya.timer.frameOnce(1, this, this.loop);     ...

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

889. 如何获取HTMLDivElement对象的文本值 [ 69%]

...般是是可以的,例子如下 但是当我本身文本有"<a href=\"event:[T_"这种的时候,就不行了例子如下 2017-03-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你的用法有问题,如果你是跳转标签,你把跳转的内容写到标签外面,不能像flash那...

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

890. graphics drawPath drawLine 鼠标 画笔 画线 锯齿 [ 69%]

graphics drawPath drawLine 鼠标 画笔 画线 锯齿 mouseMove(e:Laya.Event){ /**/ var p:Laya.Point=this.startPoint; this.cls.graphics.drawPath(0,0,[ ["moveTo", p.x,p.y], ["lineTo", e.stageX,e.stageY] ],null,{strokeStyle:"#ff0000",lineWidth:15,lineJoin:"round",lineCap:"round"}); //*/ //this.cls.g...

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