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

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

331. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...ny[], sprite: Sprite, componentType: typeof Component) { let comp = sprite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件...

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

332. laya.physics.RigidBody_API3.0 [ 26%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

333. laya.display.Input [ 26%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle[override]...

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

334. laya.display.Animation [ 26%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...

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

335. laya.ui.List [ 26%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...

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

336. laya.display.Text [ 25%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node  getGraphicBounds(realSize:Boolean = false):Rectangle[overrid...

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

337. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 25%]

...): void { //拿到IDE节点上挂载的spine组件 this.spine = this.owner.getComponent(Laya.Spine2DRenderNode); let currentSkin: string = this.spine.skinName; // 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换...

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

338. laya.display.Stage [ 25%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...

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

339. laya.d3.core.trail.TrailRenderer_API3.0 [ 24%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

340. laya.display.Sprite [ 22%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node  getGraphicBounds(realSize:Boolean = false):Rectangle 返回...

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