src/math/Color.cpp
/**
	 * Returns a desaturated color, with 0 meaning no desaturation and 1 == full desaturation
	 *
	 * @param	Desaturation	Desaturation factor in range [0..1]
	 * @return	Desaturated color
	 */
Returns a desaturated color, with 0 meaning no desaturation and 1 == full desaturation
@param       Desaturation    Desaturation factor in range [0..1]
@return      Desaturated color
Returns a desaturated color with 0 meaning no desaturation and 1 == full desaturation @param Desaturation Desaturation factor in range [ 0 .. 1 ] @return Desaturated color
FLinearColor FLinearColor::Desaturate(float Desaturation) const
	{
		float Lum = ComputeLuminance();
		return FMath::Lerp(*this, FLinearColor(Lum, Lum, Lum, 0), Desaturation);
	}
FLinearColor FLinearColor :: Desaturate ( float Desaturation ) const { float Lum = ComputeLuminance ( ) ; return FMath :: Lerp ( * this , FLinearColor ( Lum , Lum , Lum , 0 ) , Desaturation ) ; }
Returns a desaturated color, with 0 meaning no desaturation and 1 == full desaturation
 @param       Desaturation    Desaturation factor in range [0..1]
 @return      Desaturated color
Returns a desaturated color with 0 meaning no desaturation and 1 == full desaturation @param Desaturation Desaturation factor in range [ 0 .. 1 ] @return Desaturated color