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

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

881. laya.d3.core.glitter.Glitter [ 69%]

...All Classes | Index | Frames No Frames GlitterProperties | Methods | Events | Constants Packagelaya.d3.core.glitterClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪光。 Public Properties Hide Inherit...

来源: laya_api 发布时间: 20170929

882. 关于多点触控e.touches问题 [ 69%]

关于多点触控e.touches问题 Laya.stage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, onCtrlMoveRockerTouchDown);     function onCtrlMoveRockerTouchDown(e) {    console.log("onCtrlMoveRockerTouchDown()");    this.ctrlMoveRockerPosX...

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

883. laya.d3.core.particle.Particle3D [ 68%]

... Classes | Index | Frames No Frames Particle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleClasspublic class Particle3DInheritanceParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object Particle3D 3D粒子。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170603

884. 背景音乐文件太大 播放延迟 [ 68%]

...        this.mask_value = value                 EventMgr.eventManager.event(EventMgr.EVENT_LIST)             }), Laya.Loader.SOUND, 0, true, null, false)         })       public static playBackGroundMusic(url: string, start: number) {  ...

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

885. 圆环不跟随 sprite 一起缩放? [ 68%]

...stSp.graphics.drawCircle(100, 100, 20, null, "ffffff"); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.MouseWheel);  this._rootSp.hitArea = new Laya.Rectangle(0, 0, 10000, 10000) this._rootSp.addChild(this.firstSp); Laya.stage.addChild(this._rootSp); }  private MouseWheel(e: Laya.Event) { let xs...

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

886. MovieClip的target和currentTarget属性为undefined? [ 68%]

...){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); trace(e.target); MovieClip(e.currentTarget).gotoAndStop(MovieClip(e.target).count-1); } AS3代码是这样的,但是COMPLE...

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

887. laya.d3.core.trail.TrailSprite3D [ 68%]

...asses | Index | Frames No Frames TrailSprite3DProperties | Methods | Events Packagelaya.d3.core.trailClasspublic class TrailSprite3DInheritanceTrailSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TrailSprite3D 类用于创建拖尾渲染精灵。 Public Properties Hide Inheri...

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

888. laya.ui.Image [ 68%]

... All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一...

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

889. 程序蓝图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...图12-3所示。 (图12-3) 3.4 事件 需要在@bpClass标签中加入events,示例代码如下所示: const { bpClass, bpFunction } = BP; @bpClass({ name: "TestEvents", extends: "Sprite", construct: { params: [ { "name": "eee", "type": "string" } ] }, events: [{ name: "onTest", params: [{ n...

来源: Laya3.0_文档 发布时间: 20251010

890. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 68%]

...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...

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