Color.Multiply Method

Multiply each color component by the scale factor.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static Color Multiply (
         Color value,
         float scale
)

Parameters

  • value
    The source, four-component color.
  • scale
    The scale factor.

Return Value

A four-component color.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7