Share via


CustomVertex.PositionNormalColored Constructor (Single, Single, Single, Single, Single, Single, Int32)

Initializes a new instance of the CustomVertex.PositionNormalColored structure.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Sub New ( _
    xValue As Single, _
    yValue As Single, _
    zValue As Single, _
    nxValue As Single, _
    nyValue As Single, _
    nzValue As Single, _
    c As Integer _
)
'Usage
Dim xValue As Single 
Dim yValue As Single 
Dim zValue As Single 
Dim nxValue As Single 
Dim nyValue As Single 
Dim nzValue As Single 
Dim c As Integer 

Dim instance As New CustomVertex.PositionNormalColored(xValue, _
    yValue, zValue, nxValue, nyValue, _
    nzValue, c)
public PositionNormalColored(
    float xValue,
    float yValue,
    float zValue,
    float nxValue,
    float nyValue,
    float nzValue,
    int c
)
public:
PositionNormalColored(
    float xValue, 
    float yValue, 
    float zValue, 
    float nxValue, 
    float nyValue, 
    float nzValue, 
    int c
)
public function CustomVertex.PositionNormalColored(
    xValue : float, 
    yValue : float, 
    zValue : float, 
    nxValue : float, 
    nyValue : float, 
    nzValue : float, 
    c : int
)

Parameters

  • xValue
    Type: System.Single

    A floating-point value that represents the x coordinate of the position.

  • yValue
    Type: System.Single

    A floating-point value that represents the y coordinate of the position.

  • zValue
    Type: System.Single

    A floating-point value that represents the z coordinate of the position.

  • nxValue
    Type: System.Single

    A floating-point value that represents the nx coordinate of the vertex normal.

  • nyValue
    Type: System.Single

    A floating-point value that represents the ny coordinate of the vertex normal.

  • nzValue
    Type: System.Single

    A floating-point value that represents the nz coordinate of the vertex normal.

  • c
    Type: System.Int32

    An integer that represents the vertex color value.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

CustomVertex.PositionNormalColored Structure

CustomVertex.PositionNormalColored Members

CustomVertex.PositionNormalColored Overload

Microsoft.WindowsMobile.DirectX.Direct3D Namespace