Mesh.CreateCylinder (Double, Double, Int32, natureType) Method

Creates a Cylinder primitive.
Public Shared Function CreateCylinder( _ 
ByVal radius As Double, _ 
ByVal height As Double, _ 
ByVal slices As Integer, _ 
ByVal meshNature As natureType
) As Mesh
This language is not supported or no code example is available.
public static Mesh CreateCylinder( 
double radius
double height
int slices
natureType meshNature 
)
This language is not supported or no code example is available.

Parameters

radius
double

Cylinder's radius

height
double

Cylinder's height

slices
int

Number of faces of the cylinder approximation

meshNature
natureType

Nature of the mesh

Return Value

Mesh

The created mesh.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition