getAnimationDuration

fun getAnimationDuration(animationIndex: Int): Float

Get the duration of a glTF animation.

Return

Duration in seconds.

Parameters

animationIndex

Zero-based animation index.