Color.LerpPrecise Method (Microsoft.Xna.Framework)
Lerp(Color, Color, float) should be used instead of this function.
- 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.ColorInterpolated Color.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web