transform

abstract fun transform(@FloatRange(from = 0.0, to = 1.0) fraction: Float): Float

Transforms a normalized time fraction into an eased output fraction.

Return

Output fraction representing the eased progress. Typically in 0, 1, but may exceed these bounds for effects like overshoot.

Parameters

fraction

Input fraction in 0, 1 representing normalized elapsed time.