Color Constructor (Vector4)

Creates a new instance of the class.

Syntax

'Declaration
Public Sub New ( _
         vector As Vector4 _
)
public Color (
         Vector4 vector
)
public:
Color(
         Vector4 vector
)

Parameters

  • vector
    Type: Vector4
    A four-component color.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone