Color.Color Method (Microsoft.Xna.Framework)

Constructs an RGBA color from the XYZW unit length components of a vector.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public Color(
	Vector4 color
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

color
Type: Microsoft.Xna.Framework.Vector4
A Vector4 representing color.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web