Drawing3d documented Class Library

MNDevice.SolidConvex(xyzArray, xyzArray, xyzArray, Boolean) Method

This abstract method must be overridden by a derived instance. It draws the array xyzArray, which is assumed to be convex. The normals of the vertices are held by the array normals. They correspond to the vertices by its index. Also the texture coordinates, which are stored in TexturePos?. An other abstract draw method, which has to be overridden is LineStrip.

[Visual Basic]
Public MustOverride Overloads Sub SolidConvex( _
   ByVal vertices As xyzArray, _
   ByVal Normals As xyzArray, _
   ByVal TexturePos As xyzArray, _
   ByVal TextureEnabled As Boolean _
)
[C#]
public abstract void SolidConvex(
   xyzArray vertices,
   xyzArray Normals,
   xyzArray TexturePos,
   bool TextureEnabled
);

Parameters

vertices
Holds the vertices of a convex array
Normals
Holds the normals corresponding to the vertices
TexturePos
Holds the texture coordinates for each vertex
TextureEnabled
Indicates, that a texture is enabled

See Also

MNDevice Class | Drawing3d Namespace | MNDevice.SolidConvex Overload List