Microsoft DirectX 9.0 SDK Update (October 2004)

CustomVertex.PositionColored.PositionColored Constructor

Language:

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

Initializes a new instance of the CustomVertex.PositionColored class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal xvalue As Single, _
    ByVal yvalue As Single, _
    ByVal zvalue As Single, _
    ByVal c As Integer _
)
C# public PositionColored(
    float xvalue,
    float yvalue,
    float zvalue,
    int c
);
Managed C++ public: PositionColored(
    float xvalue,
    float yvalue,
    float zvalue,
    int c
);
JScript .NET public function PositionColored(
    xvalue : float,
    yvalue : float,
    zvalue : float,
    c : int
);

Parameters

xvalue System.Single. Floating-point value that represents the x coordinate of the position.
yvalue System.Single. Floating-point value that represents the y coordinate of the position.
zvalue System.Single. Floating-point value that represents the z coordinate of the position.
c System.Int32. Integer that represents the diffuse color value.

© 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