Function: Animator()
Animator(
props
):Element
Can be used to control the animation of a Model. For pausing, playing, it is recommended to conditionally render the Animator component.
Parameters
• props: AnimatorProps
Returns
Element
Example
<Model source={DroneGlb}>
<Animator animationIndex={2} />
</Model>