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

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

481. 注册函数里面 事件侦听函数的执行域 的详解 [ 69%]

...l, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个函数,是不是就是使用lamb表达式就要使用null,不是匿...

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

482. laya.display.Graphics_API3.0 [ 69%]

...onstructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate...

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

483. laya.display.Input_API3.0 [ 69%]

...lor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading ...

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

484. laya.ui.Dialog_API3.0 [ 68%]

...uctor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES drawtocanvCtx unDestroyedScenes Accessors _isHeig...

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

485. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 68%]

...lo.disconnect();         }         /** 销毁*/         public destroy(): void {             this.close();             this.pomelo = null;             if(this.mDecorate)this.mDecorate.destroy();             this.mDecorate = null;         }     }   /** socke...

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

486. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 68%]

...itPixelCount < 0.3) { trace("remove"); _htmlCanvas.clear(); _htmlCanvas.destroy(); _tex.destroy(); _colorSpr.off(Event.MOUSE_MOVE, this, __moveHandler); } } private function getPixel(tex:Texture):int { var pixelCount:int = 0; /************getPixels内存泄漏*************/ var arr:Array = tex.ge...

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

487. laya.resource.NativeContext_API3.0 [ 68%]

...ffffff_ab_ab_ab add_iiiifff add_iiiifff_String_String alpha clear clipRect destroy drawCanvas drawCurves drawFilter drawMask drawMaskComposite drawMasked drawRect drawTarget drawTargetBlurFilter drawText drawTexture drawTextureWithSizeGrid drawTextureWithTransform drawTriangles fillBorderText fillBo...

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

488. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 68%]

...tatic] ShuriKenParticle3D  CURRENTTIME : int[static] ShuriKenParticle3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  GRAVITY : int[static] ShuriKenParticle3D id ...

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

489. laya.display.Input [ 68%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  editable : Boolean 是否可编辑。 Input filters ...

来源: laya_api 发布时间: 20170929

490. loadLib("libs/laya.device.js"); native上会随机宕 [ 68%]

...处崩溃:     //Laya.__init([Media]);   另外视频destr __proto.destroy=function(detroyChildren){         (detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃        ...

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