CustomVertex.PositionColored.PositionColored(Vector3,Int32) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the CustomVertex.PositionColored class.

Definition

Visual Basic Public Sub New( _
    ByVal value As Vector3, _
    ByVal c As Integer _
)
C# public PositionColored(
    Vector3 value,
    int c
);
C++ public:
 PositionColored(
    Vector3 value,
    int c
);
JScript public function PositionColored(
    value : Vector3,
    c : int
);

Parameters

value Microsoft.DirectX.Vector3
A Vector3 object that contains the position.
c System.Int32
Integer that represents the diffuse color value.