CreateCylinder<T>(Double,Double,Int32) Method
In This Topic
Creates a Cylinder primitive.
Syntax
'Declaration
Public Overloads Shared Function CreateCylinder(Of As {New, Mesh})( _
ByVal As Double, _
ByVal As Double, _
ByVal As Integer _
) As
public static CreateCylinder<>(
double ,
double ,
int
)
where T: new(), Mesh
Parameters
- radius
- Cylinder's radius
- height
- Cylinder's height
- slices
- Number of faces of the cylinder approximation
Type Parameters
- T
Return Value
The created mesh.
See Also