fractionToTime

open fun fractionToTime(fraction: Float, duration: Float): Float

Get the elapsed time in seconds of a fraction position

Return

Elapsed time at the specified fraction

Parameters

fraction

The fractional (from 0 to 1) value of interest

duration

Duration in seconds