Share via


Color.ToVector4 Method

Returns the current color as a Vector4.

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

Syntax

public Vector4 ToVector4 ()

Return Value

The current color.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista