Color Constructor (Vector4)
Initializes a new instance of Color.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Color (
Vector4 vector
)
Parameters
- vector
A Vector4 containing the Red, Green, Blue, and Alpha values defining a color.
See Also
Reference
Color Structure
Color Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista