Add a donut shape to a mesh
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static void AddDonut(
MeshGeometry3D mesh,
Point3D position,
double radius,
double sectionRadius,
int sides,
int sectionSides,
double sideCurving,
int sideCurvingPrecision,
double sliceAngle,
bool capStart,
bool capEnd,
UVTileMode tileMode,
Vector customTile
) |
Visual Basic |
---|
Public Shared Sub AddDonut ( _
mesh As MeshGeometry3D, _
position As Point3D, _
radius As Double, _
sectionRadius As Double, _
sides As Integer, _
sectionSides As Integer, _
sideCurving As Double, _
sideCurvingPrecision As Integer, _
sliceAngle As Double, _
capStart As Boolean, _
capEnd As Boolean, _
tileMode As UVTileMode, _
customTile As Vector _
) |
JScript |
---|
public static function AddDonut(
mesh : MeshGeometry3D,
position : Point3D,
radius : double,
sectionRadius : double,
sides : int,
sectionSides : int,
sideCurving : double,
sideCurvingPrecision : int,
sliceAngle : double,
capStart : boolean,
capEnd : boolean,
tileMode : UVTileMode,
customTile : Vector
) |
Parameters
- mesh
- Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The mesh to add to
- position
- Type: System.Windows.Media.Media3D..::..Point3D
The position of the donut
- radius
- Type: System..::..Double
The radius of the curve
- sectionRadius
- Type: System..::..Double
The radius of the donut section
- sides
- Type: System..::..Int32
The number of sides in the donut curve
- sectionSides
- Type: System..::..Int32
The number of sides on the donut section
- sideCurving
- Type: System..::..Double
- sideCurvingPrecision
- Type: System..::..Int32
- sliceAngle
- Type: System..::..Double
The angle at which to slice the donut
- capStart
- Type: System..::..Boolean
Determines whether or not to cap the donut start
- capEnd
- Type: System..::..Boolean
Determines whether or not to cap the donut end
- tileMode
- Type: Ico.Windows.Media.Media3D..::..UVTileMode
The tile mode of the donut
- customTile
- Type: System.Windows..::..Vector
The custom tiling to use
See Also