VertexChannelNames.Color Method

Gets the name of a color channel with the specified index.

This will typically contain Vector3 data.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public static string Color (
         int usageIndex
)

Parameters

  • usageIndex
    Zero-based index of the color channel being retrieved.

Return Value

Name of the retrieved color channel.

See Also

Reference

VertexChannelNames Class
VertexChannelNames Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista