Export (0) Print
Expand All

ColorExtensions.ToVector3 Method

Converts the specified color into a Vector3.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

public static Vector3 ToVector3(
	Color color
)

Parameters

color
Type: Microsoft.Xna.Framework.Color
The color to convert.

Return Value

Type: Microsoft.Xna.Framework.Vector3
The converted vector.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft