Share via


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

Initializes a new instance of the CustomVertex.PositionNormalColored class.

Definition

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

Parameters

pos Microsoft.DirectX.Vector3
A Vector3 object that contains the vertex position.
nor Microsoft.DirectX.Vector3
A Vector3 object that contains the vertex normal data.
c System.Int32
Integer that represents the vertex color value.