CustomVertex.PositionColored.PositionColored Constructor

Language:

Initializes a new instance of the CustomVertex.PositionColored class.

Definition

Visual Basic 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
);
C++ public:
 PositionColored(
    float xvalue,
    float yvalue,
    float zvalue,
    int c
);
JScript 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.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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