Condividi tramite


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

Initializes a new instance of the CustomVertex.PositionColored 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, _
    c As Integer _
)
'Usage
Dim xValue As Single
Dim yValue As Single
Dim zValue As Single
Dim c As Integer

Dim instance As New PositionColored(xValue, yValue, zValue, c)
public PositionColored (
    float xValue,
    float yValue,
    float zValue,
    int c
)
public:
PositionColored (
    float xValue, 
    float yValue, 
    float zValue, 
    int c
)
public PositionColored (
    float xValue, 
    float yValue, 
    float zValue, 
    int c
)
public function PositionColored (
    xValue : float, 
    yValue : float, 
    zValue : float, 
    c : int
)
Not applicable.

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.
  • c
    An integer that represents the diffuse color value.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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