Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / CreateSphere Method / CreateSphere(Double,Int32,Int32,natureType) Method
Sphere's radius
Number of slices
Numer of stacks
Nature of the mesh

In This Topic
    CreateSphere(Double,Int32,Int32,natureType) Method
    In This Topic
    Creates a Sphere primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateSphere( _
       ByVal radius As Double, _
       ByVal slices As Integer, _
       ByVal stacks As Integer, _
       ByVal meshNature As Mesh.natureType _
    ) As Mesh
    public static Mesh CreateSphere( 
       double radius,
       int slices,
       int stacks,
       Mesh.natureType meshNature
    )

    Parameters

    radius
    Sphere's radius
    slices
    Number of slices
    stacks
    Numer of stacks
    meshNature
    Nature of the mesh

    Return Value

    The created mesh.
    See Also