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

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

Parameters

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

Return Value

The created mesh.
See Also

Reference

Mesh Class
Mesh Members
Overload List