factor

open override fun factor(relativeDistance: Float): Float

Returns the negative factor for a negative distance and the positive factor for a positive distance. 0 returns 0.