Share via


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

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
)

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.

.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.PositionColored Structure
CustomVertex.PositionColored Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace