Eyeshot 11 WinForms API Reference
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

In This Topic
    CreateSphere<T>(Double,Int32,Int32) Method
    In This Topic
    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