Mesh.CreateCylinder<T> (Double, Double, Int32) Method
Creates a Cylinder primitive.
Public Shared Function CreateCylinder(Of _
T As {Mesh, New})( _
ByVal radius As Double, _
ByVal height As Double, _
ByVal slices As Integer _
) As T
This language is not supported or no code example is available.
public static T CreateCylinder<T>(
double radius,
double height,
int slices
)
where T : Mesh, new()
This language is not supported or no code example is available.
Type Parameters
-
T
-
Parameters
-
radius
-
double
Cylinder's radius
-
height
-
double
Cylinder's height
-
slices
-
int
Number of faces of the cylinder approximation
Return Value
T
The created mesh.
.NET Framework
Supported in: 4.5, 4.6, 4.7