Type Alias: AnimatorProps
AnimatorProps:
object
Type declaration
animationIndex?
optionalanimationIndex:number|ISharedValue<number>
The index of the animation to play. To find out the index for the animation you want to play, you can use the onAnimationsLoaded callback.
Default
0
onAnimationsLoaded()?
optionalonAnimationsLoaded: (animations) =>unknown
Returns a list of all animations for the model.
Parameters
• animations: AnimationItem[]
Returns
unknown
transitionDuration?
optionaltransitionDuration:number
The time it takes transitioning from one animation to another. At 0 the transition is immediate. Unit is seconds.
Default
0