'Declaration Public Overloads Shared Function CreateCone(Of T As {New, Mesh})( _ ByVal baseRadius As Double, _ ByVal topRadius As Double, _ ByVal height As Double, _ ByVal slices As Integer, _ ByVal meshNature As Mesh.natureType, _ ByVal edgeStyle As Mesh.edgeStyleType _ ) As T
public static T CreateCone<T>( double baseRadius, double topRadius, double height, int slices, Mesh.natureType meshNature, Mesh.edgeStyleType edgeStyle ) where T: new(), Mesh
Parameters
- baseRadius
- Cone's base radius
- topRadius
- Cone's top radius
- height
- The cone's height
- slices
- Number of faces of the cylinder approximation
- meshNature
- Nature of the mesh
- edgeStyle
- Style of the edges
Type Parameters
- T
Return Value
The created mesh.