FMath::InterpStep

Interpolation between A and B, applying a step function.