大约有 344 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
...,如图3-4所示。 (图3-4) LayaAir 3D引擎的Sprite3D类提供了 getComponent() 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator(动画状态机)动画组件,因此我们可以这样获取: //获得状态机 this.animator = this....
来源: Laya3.0_文档 发布时间: 20251010
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...在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
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对象...
来源: Laya2.0_api 发布时间: 20190513
... 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
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513