ColorExtensions.FromVector3 Method

Creates a color from a Vector3.

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

public static Color FromVector3(
	Vector3 value
)

Parameters

value
Type: Microsoft.Xna.Framework.Vector3
The vector to create the color from.

Return Value

Type: Microsoft.Xna.Framework.Color
The created color.

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: