Export (0) Print
Expand All

ColorExtensions Class

Performs conversions of colors and vectors.

System.Object
  Microsoft.Xna.Framework.ColorExtensions

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

'Declaration
Public NotInheritable Class ColorExtensions

The ColorExtensions type exposes the following members.

  NameDescription
Public methodStatic memberFromVector3Creates a color from a Vector3.
Public methodStatic memberFromVector4Creates a color from a Vector4.
Public methodStatic memberToVector3Converts the specified color into a Vector3.
Public methodStatic memberToVector4Converts the specified color into a Vector4.
Top

Silverlight

Supported in: 5

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft