Color.Multiply Method (Microsoft.Xna.Framework)

Multiply Color by value.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.796)
  • C#
  • VB
  • F#
public static Color Multiply(
	Color value, 
	float scale
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value
Type: Microsoft.Xna.Framework.Color
Source Color.
scale
Type: System.Single
Multiplicator.

Return Value

Type: Microsoft.Xna.Framework.Color
Multiplication result.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web