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