VertexChannelNames.Color Method
Note
This method is available only when developing for Windows.
Gets the name of a color channel with the specified index.
This will typically contain Vector3 data.
Syntax
'Declaration
Public Shared Function Color ( _
usageIndex As Integer _
) As String
public static string Color (
int usageIndex
)
public:
static String Color(
int usageIndex
)
Parameters
- usageIndex
Type: Int32
Zero-based index of the color channel being retrieved.
Return Value
Type: String
Name of the retrieved color channel.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
VertexChannelNames Class
VertexChannelNames Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP