Drawing3d documented Class Library

Tools.drawExtruded(MNDevice, Curve, Double, Double, Double, Boolean, TextureVisibility, Boolean) Method

Draws an extrusion of a curve with extrusiondirection of the z-axis. The curve is taken in the xy-plane.

[Visual Basic]
Public Overloads Shared Sub drawExtruded( _
   ByVal Device As MNDevice, _
   ByVal C As Curve, _
   ByVal from As Double, _
   ByVal to As Double, _
   ByRef TextureOffset As Double, _
   ByVal Glue As Boolean, _
   ByVal TextureVisibility As TextureVisibility, _
   ByVal TextureAbsolute As Boolean _
)
[C#]
public static void drawExtruded(
   MNDevice Device,
   Curve C,
   double from,
   double to,
   ref double TextureOffset,
   bool Glue,
   TextureVisibility TextureVisibility,
   bool TextureAbsolute
);

Parameters

Device
Specifies the device, in which will be painted.
C
Specifies the curve as base of the extrusion.
from
Exrusion starts at from height.
to
Exrusion ends with to height.
TextureOffset
Sets an offset for texturing and gets as result the final offset
Glue
If Glue is true the texture will be glued to the extruded curve like a picture will be glued.
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