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

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

341. laya.d3.webxr.core.WebXRCamera_API3.0 [ 42%]

...e onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeCommandBuffer removeCommandBuffers removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce viewportPoint...

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

342. 其他引擎的Demo-Example_23 [ 42%]

...Y = laser.alpha; if (laser.alpha < 0.01) { lasers.splice(i, 1); Laya.stage.removeChild(laser); i--; } } } // increment the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

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

343. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 41%]

...eyChar + ".png"; } /** * 清除字体 */ private clearFnt(): void { XUtils.removeChilds(this.chars, BPFont.fontPool); } /** * 获取一个字体对象 */ private getSprite(): Laya.Sprite { let sp = BPFont.fontPool.shift() || new Laya.Sprite(); return sp; } /** * 创建位图文本 * @param v */ priv...

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

344. laya.ui.Panel [ 41%]

...新刷新缓存。Sprite  refresh():void 刷新滚动内容。 Panel  removeChild(child:Node):Node[override] 删除子节点。 Panel  removeChildAt(index:int):Node[override] 根据子节点索引位置,删除对应的子节点对象。 Panel removeChildByName(name:String):Node 根据子节...

来源: laya_api 发布时间: 20170929

345. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 40%]

...gUI(); pop.btn_close.clickHandler = new Handler(this,function(){pop.parent.removeChild(pop);}); } this.addChild(pop); } private function StartMove(len:int):void { trace("[TestView.StartMove]") // TODO Auto Generated method stub Laya.timer.loop(100,this,UpdatePath,[len]); } private function UpdatePat...

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

346. laya.ui.Panel [ 40%]

...新刷新缓存。Sprite  refresh():void 刷新滚动内容。 Panel  removeChild(child:Node):Node[override] 删除子节点。 Panel  removeChildAt(index:int):Node[override] 根据子节点索引位置,删除对应的子节点对象。 Panel removeChildByName(name:String):Node 根据子节...

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

347. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 40%]

...之后问题 调用frameLoop之后,怎么清除 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? 自定义的ts文件编译成js文件之后不会自动添加到index里面的吗? 用as3写可不可以...

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

348. 【LIST无法拖动】参照官方实例做的 [ 39%]

...this.destroy();         Laya.stage.addChild(ui);     }     removeChild_list(){         this.hitArea = new Laya.HitArea();         this.hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");         Laya.SoundManager.playSound("sound...

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

349. laya.d3.core.light.DirectionLight [ 35%]

...加到舞台后 此方法为虚方法,使用时重写覆盖即可 Node removeChild(node:Node):Node 删除子节点。 Node removeChildAt(index:int):Node 根据子节点索引位置,删除对应的子节点对象。 Node removeChildByName(name:String):Node 根据子节点名字删除对应的...

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

350. laya.html.dom.HTMLIframeElement_API3.0 [ 35%]

... onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex setSelfBounds set_height set_scaleX set_scaleY set_transform set_visible set_...

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