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

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

271. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...,如图3-4所示。 (图3-4) LayaAir 3D引擎的Sprite3D类提供了 getComponent() 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator(动画状态机)动画组件,因此我们可以这样获取: //获得状态机 this.animator = this....

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

272. laya.physics.PhysicsDebugDraw [ 37%]

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

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

273. laya.map.TileAniSprite [ 37%]

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

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

274. laya.d3.core.ui3d.UI3D_API3.0 [ 37%]

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

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

275. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 36%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对象...

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

276. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

... this.ui3d.billboard = true; //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } } 最后来看看运行效果: (动图4-2) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:58 img{cursor:pointe...

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

277. laya.particle.Particle2D [ 36%]

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

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

278. laya.utils.PerfHUD [ 36%]

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

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

279. laya.ui.ScaleBox [ 35%]

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

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

280. laya.html.dom.HTMLDivElement [ 35%]

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

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