Microsoft DirectX 9.0 SDK Update (October 2004)

CustomVertex.PositionColored Structure

Language:

Note: This documentation is preliminary and is subject to change.

Describes a custom vertex format structure that contains position and color information.

Definition

Visual Basic .NET Public Structure PositionColored
C# public struct PositionColored
Managed C++ public __value struct PositionColored
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Field Description
Color Retrieves or sets the vertex color.
static (Shared in Visual Basic .NET) Format Retrieves the VertexFormats for the current custom vertex.
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.
Method Description
PositionColored Initializes a new instance of the CustomVertex.PositionColored class.
ToString Obtains a string representation of the current instance.
Property Description
Position Retrieves or sets the vertex position.
static (Shared in Visual Basic .NET) StrideSize Retrieves the size of the CustomVertex.PositionColored structure.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center