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

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

341. 2D物理-仿生机器人 [ 45%]

...t.CLICK); Laya.Laya.stage.offAll(Laya.Event.DOUBLE_CLICK); Laya.Laya.stage.removeChild(this.label); } } class B2Math { static AddVV(a, b) { return [a[0] + b[0], a[1] + b[1]]; } static SubVV(a, b) { return [a[0] - b[0], a[1] - b[1]]; } } new Physics_Physics_Strandbeests(); import { Config } from "Con...

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

342. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 45%]

...点上移除 dragonAnimator2.unLinkSprite3DToAvatarNode(role); aniSprte3D2.removeChild(role); //移除龙2 dragon2.removeSelf(); //将role添加到场景上,同时播放hello动画 scene.addChild(role); animator.play("hello"); ``` ![](img/4.gif)(图4)

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

343. laya.ui.LayoutBox [ 45%]

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

来源: laya_api 发布时间: 20170929

344. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 44%]

...竖屏的iphone上不能正常显示的问题 graphics alpha 问题 关于removechild、destory、clear的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问题状态 最新活动: 2025-09-23 10:06 浏览: 3038 关注: 3 人

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

345. laya.d3.core.Camera_API3.0 [ 43%]

...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

346. 其他引擎的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; }

来源: Laya_示例 发布时间: 20251209

347. Laya 绑定显示内容到骨骼动画 [ 42%]

...ndex&lt;0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); this.__bindList.splice(index,1); }  private __updateBinds():void{ let source:BindSource; let position:Laya.Point=Laya.Point.create(); for(let index:number=0;index&lt;this.__bindList.length;index++){ ...

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

348. 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

349. 其他引擎的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_示例 发布时间: 20251209

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

...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