'Declaration Public Overloads Shared Function CreateSpring(Of T As {New, Mesh})( _ ByVal radius As Double, _ ByVal wireRadius As Double, _ ByVal sides As Integer, _ ByVal rings As Integer, _ ByVal pitch As Double, _ ByVal turns As Double, _ ByVal reverseTwist As Boolean, _ ByVal closed As Boolean, _ ByVal meshNature As Mesh.natureType _ ) As T
Parameters
- radius
- Spring radius
- wireRadius
- Wire radius
- sides
- Number of subdivision sides
- rings
- Number of subdivision rings per turn
- pitch
- Height of each complete turn
- turns
- Number of turns
- reverseTwist
- Reverse direction
- closed
- Closing caps on both ends
- meshNature
- Nature of the resulting mesh entity
Type Parameters
- T
Return Value
The resulting mesh object.