Creates new XSphereMesh class instance with the sphere parameters and the XMaterial material.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
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.
- material
- Type: SGP.XSpace..::.XMaterial
The XMaterial material used for the mesh rendering.