'Declaration Public Overloads Shared Function CreateTorus(Of T As {New, Mesh})( _ ByVal majorRadius As Double, _ ByVal minorRadius As Double, _ ByVal sides As Integer, _ ByVal rings As Integer, _ ByVal meshNature As Mesh.natureType _ ) As T
public static T CreateTorus<T>( double majorRadius, double minorRadius, int sides, int rings, Mesh.natureType meshNature ) where T: new(), Mesh
Parameters
- majorRadius
- Torus radius
- minorRadius
- Torus section radius
- sides
- Number of sides
- rings
- Number of rings
- meshNature
- Nature of the mesh
Type Parameters
- T
Return Value
The created mesh.