Creates a new instance of a sphere.

Declaration Syntax

Parameters
-
name (String)
- Name of the sphere
-
center (Vector3)
- Center of the sphere
-
zSamples (Int32)
- Number of samples along the z-axis
-
radSamples (Int32)
- Number of samples along the radius
-
radius (Single)
- Radius of the sphere
-
textureMode (SphereTextureMode)
- Texture mode to use
Assembly:
Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)