Solid.CreateSphere Method

Creates a Sphere primitive.
Public Shared Function CreateSphere( _ 
ByVal radius As Double, _ 
ByVal slices As Integer, _ 
ByVal stacks As Integer
) As Solid
This language is not supported or no code example is available.
public static Solid CreateSphere( 
double radius
int slices
int stacks 
)
This language is not supported or no code example is available.

Parameters

radius
double

Sphere radius

slices
int

Number of meridian subdivisions

stacks
int

Number of parallel subdivisions

Return Value

Solid

The created solid.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition