CustomVertex.PositionColoredTextured Structure (Microsoft.DirectX.Direct3D)

Describes a custom vertex format structure that contains position, color, and one set of texture coordinates.

Definition

Visual BasicPublic Structure PositionColoredTextured
C#public struct PositionColoredTextured 
C++public value class PositionColoredTextured sealed 
JScriptIn JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Fields

FieldDescription
Color Retrieves or sets the vertex color.
static (Shared in Visual Basic) Format Retrieves the VertexFormats for the current custom vertex.
Tu Retrieves or sets the u component of the texture coordinate.
Tv Retrieves or sets the v component of the texture coordinate.
X Retrieves or sets the x component of the position.
Y Retrieves or sets the y component of the position.
Z Retrieves or sets the z component of the position.

Methods

MethodDescription
PositionColoredTextured Initializes a new instance of the CustomVertex.PositionColoredTextured class.
ToString Obtains a string representation of the current instance.

Properties

PropertyDescription
Position Retrieves or sets the vertex position.
static (Shared in Visual Basic) StrideSize Retrieves the size of the CustomVertex.PositionColoredTextured structure.

Structure Information

NamespaceMicrosoft.DirectX.Direct3D
AssemblyMicrosoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong NameMicrosoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also

Show: