Microsoft DirectX 9.0 SDK Update (October 2004)

CustomVertex.PositionNormal.PositionNormal Constructor

Language:

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

Initializes a new instance of the CustomVertex.PositionNormal class.

Definition

Visual Basic .NET 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
);
Managed C++ public: PositionNormal(
    float xvalue,
    float yvalue,
    float zvalue,
    float nxvalue,
    float nyvalue,
    float nzvalue
);
JScript .NET 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.

© 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