Eyeshot 10 WinForms API Reference
CreateSphere<T>(Double,Int32,Int32) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Mesh Class > CreateSphere Method : CreateSphere<T>(Double,Int32,Int32) Method
Sphere's radius
Number of slices
Numer of stacks
Creates a Sphere primitive.
Syntax
'Declaration
 
Public Overloads Shared Function CreateSphere(Of T As {New, Mesh})( _
   ByVal radius As Double, _
   ByVal slices As Integer, _
   ByVal stacks As Integer _
) As T
public static T CreateSphere<T>( 
   double radius,
   int slices,
   int stacks
)
where T: new(), Mesh

Parameters

radius
Sphere's radius
slices
Number of slices
stacks
Numer of stacks

Type Parameters

T

Return Value

The created mesh.
See Also

Reference

Mesh Class
Mesh Members
Overload List