Share via


CustomVertex.PositionNormalColored.PositionNormalColored(Single,Single,Single,Single,Single,Single,Int32) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the CustomVertex.PositionNormalColored 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, _
    ByVal c As Integer _
)
C# public PositionNormalColored(
    float xvalue,
    float yvalue,
    float zvalue,
    float nxvalue,
    float nyvalue,
    float nzvalue,
    int c
);
C++ public:
 PositionNormalColored(
    float xvalue,
    float yvalue,
    float zvalue,
    float nxvalue,
    float nyvalue,
    float nzvalue,
    int c
);
JScript public function PositionNormalColored(
    xvalue : float,
    yvalue : float,
    zvalue : float,
    nxvalue : float,
    nyvalue : float,
    nzvalue : 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.
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.
c System.Int32
Integer that represents the vertex color value.