Color.LerpPrecise Method (Microsoft.Xna.Framework)

Lerp(Color, Color, float) should be used instead of this function.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.338)
  • C#
  • VB
  • F#
[ObsoleteAttribute("Color.Lerp should be used instead of this function.")]
public static Color LerpPrecise(
	Color value1, 
	Color value2, 
	float amount
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Color
value2
Type: Microsoft.Xna.Framework.Color
amount
Type: System.Single

Return Value

Type: Microsoft.Xna.Framework.Color
Interpolated Color.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web