Creates new XSphereMesh class instance using the sphere parameters.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XSphereMesh(
	float radius,
	int slices,
	int stacks,
	float angle
)

Parameters

radius
Type: System..::.Single
Defines the sphere radius.
slices
Type: System..::.Int32
Defines the edges count around the main diagonal.
stacks
Type: System..::.Int32
Defines the edges count along the main diagonal.
angle
Type: System..::.Single
Rotation angle.

See Also