Drawing3d documented Class Library

Tools.drawExtruded(MNDevice, CurveArray, Double, Double, Boolean, Boolean, TextureKind, TextureVisibility, Boolean) Method

Draws an extrusion of a curve array with direction of the z-axis. The curvelist gives the outer contour of the extrusion. It should be counter colockwise oriented. The curves are all taken in the xy-plane.
If all curves are line you get a prism.

[Visual Basic]
Public Overloads Shared Sub drawExtruded( _
   ByVal Device As MNDevice, _
   ByVal C As CurveArray, _
   ByVal from As Double, _
   ByVal to As Double, _
   ByVal PaintBottom As Boolean, _
   ByVal PaintTop As Boolean, _
   ByVal TextureKind As TextureKind, _
   ByVal TextureVisibility As TextureVisibility, _
   ByVal TextureAbsolute As Boolean _
)
[C#]
public static void drawExtruded(
   MNDevice Device,
   CurveArray C,
   double from,
   double to,
   bool PaintBottom,
   bool PaintTop,
   TextureKind TextureKind,
   TextureVisibility TextureVisibility,
   bool TextureAbsolute
);

Parameters

Device
Specifies the device, in which will be painted.
C
Specifies the curve array as base of the extrusion.
from
Exrusion starts at from height.
to
Exrusion ends with to height.
PaintBottom
Specifies, wether the bottom plane willbe drawn or not.
PaintTop
Specifies, wether the top plane will be drawn or not.
TextureKind
Specifies the Tools.TextureKind.
TextureVisibility
Specifies where the texture shoud be visible
TextureAbsolute
In general this value is set to false. If you set true the texture is painted "flat" to the extrusion

See Also

Tools Class | Drawing3d Namespace | Tools.drawExtruded Overload List