DX9ToolsR4 - Created by: X

MeshEx Constructor (Int32, Int32, MeshFlags, GraphicsStream, Device)

Creates a new instance of this class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal Numfaces As Integer, _
   ByVal Numverts As Integer, _
   ByVal Options As MeshFlags, _
   ByVal Declaration As GraphicsStream, _
   ByVal Device As Device _
)
[C#]
public MeshEx(
   int Numfaces,
   int Numverts,
   MeshFlags Options,
   GraphicsStream Declaration,
   Device Device
);

Parameters

Numfaces
Number of faces for the mesh. The valid range is greater than 0 and one less than the maximum integer (typically 65534), because the last index is reserved.
Numverts
Number of vertices for the mesh. This parameter must be greater than 0.
Options
One or more flags from the MeshFlags enumeration that specify creation options for the mesh (excepting the Simplify* and Optimize* flags).
Declaration
A GraphicsStream containing an array of VertexFormats enumeration values that specify the format of the mesh vertices.
Device
A Device object that represents the device associated with the mesh.

See Also

MeshEx Class | CBX.Libs.DX9ToolsR4 Namespace | MeshEx Constructor Overload List