Freigeben über


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 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 PositionNormalColored (
    float xValue, 
    float yValue, 
    float zValue, 
    float nxValue, 
    float nyValue, 
    float nzValue, 
    int c
)
public function PositionNormalColored (
    xValue : float, 
    yValue : float, 
    zValue : float, 
    nxValue : float, 
    nyValue : float, 
    nzValue : float, 
    c : int
)

Parameters

  • xValue
    A floating-point value that represents the x coordinate of the position.
  • yValue
    A floating-point value that represents the y coordinate of the position.
  • zValue
    A floating-point value that represents the z coordinate of the position.
  • nxValue
    A floating-point value that represents the nx coordinate of the vertex normal.
  • nyValue
    A floating-point value that represents the ny coordinate of the vertex normal.
  • nzValue
    A floating-point value that represents the nz coordinate of the vertex normal.
  • c
    An integer that represents the vertex color value.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

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

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

CustomVertex.PositionNormalColored Structure
CustomVertex.PositionNormalColored Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace