CustomVertex.PositionNormal.PositionNormal Constructor

Language:

Initializes a new instance of the CustomVertex.PositionNormal class.

Definition

Visual Basic Public Sub New( _
    ByVal xvalue As Single, _
    ByVal yvalue As Single, _
    ByVal zvalue As Single, _
    ByVal nxvalue As Single, _
    ByVal nyvalue As Single, _
    ByVal nzvalue As Single _
)
C# public PositionNormal(
    float xvalue,
    float yvalue,
    float zvalue,
    float nxvalue,
    float nyvalue,
    float nzvalue
);
C++ public:
 PositionNormal(
    float xvalue,
    float yvalue,
    float zvalue,
    float nxvalue,
    float nyvalue,
    float nzvalue
);
JScript public function PositionNormal(
    xvalue : float,
    yvalue : float,
    zvalue : float,
    nxvalue : float,
    nyvalue : float,
    nzvalue : float
);

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.
nxvalue System.Single
Floating-point value that represents the nx coordinate of the vertex normal.
nyvalue System.Single
Floating-point value that represents the ny coordinate of the vertex normal.
nzvalue System.Single
Floating-point value that represents the nz coordinate of the vertex normal.

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