CreateSphere<T>(Double,Int32,Int32) Method
In This Topic
Creates a Sphere primitive.
Syntax
'Declaration
Public Overloads Shared Function CreateSphere(Of As {New, Mesh})( _
ByVal As Double, _
ByVal As Integer, _
ByVal As Integer _
) As
public static CreateSphere<>(
double ,
int ,
int
)
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