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

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

531. Animation 使用疑问 [ 63%]

...); } private body: Laya.Animation; private onBtn2Click(): void { this.body.destroyChildren(); this.body.clear(); this.body.destroy(); } 调试面板中的sprite个DrwaCall都有变化,但是CurMern么有发出变化,是否正常?   2 构造时创建   constructor() {         this.aniBody...

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

532. laya.ui.TextArea [ 63%]

...,使用大括号可以指定组件的任意属性进行赋值。 Label destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[re...

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

533. 区块地图-滚动地图 [ 62%]

...edMap = new TiledMap(); mX = mY = 0; //创建地图,适当的时候调用destroy销毁地图 tiledMap.createMap("../../res/tiledMap/desert.json", new Rectangle(0, 0, Browser.width, Browser.height), new Handler(this, completeHandler)); } /** * 地图加载完成的回调 */ private function complet...

来源: Laya2.0_示例 发布时间: 20241001

534. laya.html.dom.HTMLIframeElement_API3.0 [ 62%]

...blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent ...

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

535. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 62%]

...; }; //彻底销毁清理一个粒子特效对象 Clean(): void { if (this.destroyed) { return; } this.Recover(); if (this._particle && !this._particle.destroyed) { this._particle.removeSelf(); this._particle.destroy(true); this._particle = null; } this._shuriKenParticle3D = null; this._shur...

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

536. canvas下资源清理的问题 [ 62%]

... if(taskView)             {                 taskView.destroy();                 taskView = null;                 Laya.loader.clearTextureRes("res/atlas/task.atlas");                         }         }                 ...

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

537. laya.ui.TextArea [ 62%]

...,使用大括号可以指定组件的任意属性进行赋值。 Label destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] ...

来源: laya_api 发布时间: 20170929

538. laya.html.dom.HTMLDivElement_API3.0 [ 62%]

...blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivot...

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

539. 3D粒子特效初始化卡顿 [ 62%]

...存的 Instantiate(item); }else{ OnComplete(); } } } public function DelayDestroy(delay:int):void { this.timerOnce(delay,this,destroy); } public function OnComplete():void { var item:Sprite3D = Laya.loader.getRes(_path) as Sprite3D; if(item != null){ item = item.getChildAt(0).clone(); Instantiate(it...

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

540. laya.d3.component.Animator [ 61%]

...itanceAnimator Component3D EventDispatcher ObjectImplements laya.resource.IDestroy Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  avatar : Avatar 获取avatar。 Animator  cacheFrameRate : int 获...

来源: laya_api 发布时间: 20170929